/* Custom CSS for Asmar's Classy & Colorful Portfolio */

:root {
    /* Color Palette - Warm Canvas & Vibrant Accents (Financial Times cream) */
    --bg-primary: #fff1e5; /* Iconic FT Warm Paper Cream */
    --bg-secondary: #fffcf9; /* Lighter Warm Ivory */
    --text-primary: #1c1917; /* Slate Black */
    --text-secondary: #44403c; /* Stone 600 */
    --text-muted: #78716c; /* Stone 500 */
    
    /* Accents HSL - Warm Gold Yellow */
    --yellow-h: 45;
    --yellow-s: 93%;
    --yellow-l: 47%;
    --accent-yellow: hsl(var(--yellow-h), var(--yellow-s), var(--yellow-l));
    --accent-yellow-light: #fffbeb; /* Amber 50 */
    --accent-yellow-glow: hsla(var(--yellow-h), var(--yellow-s), var(--yellow-l), 0.2);
    
    /* Accents HSL - Sky Blue */
    --blue-h: 199;
    --blue-s: 89%;
    --blue-l: 48%;
    --accent-blue: hsl(var(--blue-h), var(--blue-s), var(--blue-l));
    --accent-blue-light: #f0f9ff; /* Sky 50 */
    --accent-blue-glow: hsla(var(--blue-h), var(--blue-s), var(--blue-l), 0.2);
    
    /* UI Elements */
    --border-color: rgba(120, 113, 108, 0.12);
    --border-color-focus: rgba(120, 113, 108, 0.3);
    
    /* Fonts */
    --font-serif: 'Fraunces', serif;
    --font-sans: 'Outfit', sans-serif;
    
    /* Layout & Animation */
    --max-width: 1140px;
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.15s ease;
    
    /* Shadows */
    --card-shadow: 0 8px 30px -4px rgba(120, 113, 108, 0.05);
    --card-shadow-hover: 0 20px 48px -6px rgba(120, 113, 108, 0.12);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: #991b1b;
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease-out;
}



/* Navigation - Editorial Masthead Style */
.masthead {
    width: 100%;
    background-color: var(--bg-primary);
    padding-top: 36px;
    margin-bottom: 0;
}

.masthead-top {
    text-align: center;
    margin-bottom: 22px;
    padding: 0 24px;
}

.masthead-logo {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    color: #991b1b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    display: inline-block;
    border-bottom: none !important;
}

.masthead-logo:hover {
    opacity: 0.85;
}

.masthead-nav {
    border-top: 1px double var(--border-color);
    border-bottom: 1px double var(--border-color);
    padding: 14px 0;
    background-color: var(--bg-primary);
}

.nav-container-centered {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.nav-item {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #991b1b;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Menu Toggle Button (Mobile fallback) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 4px;
}

.menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section with Grid Layout */
.hero-section {
    position: relative;
    padding: 60px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    overflow: hidden;
    flex: 1;
}



.hero-grid-two-col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-name-curved {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 4.8rem;
    font-weight: 500;
    display: inline-block;
    line-height: 1.1;
    color: #991b1b; /* Saturated Crimson */
    position: relative;
    padding-bottom: 4px;
}

.hero-name-curved::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: #0d9488; /* Saturated Teal */
    border-radius: 2px;
}



.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.75;
}

.bio-link {
    color: #991b1b;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(153, 27, 27, 0.4);
    text-underline-offset: 4px;
    transition: var(--transition-fast);
}

.bio-link:hover {
    color: #0d9488;
    text-decoration-color: #0d9488;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Profile Picture Upfront Frame Styling */
.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-frame-hero {
    position: relative;
    width: 100%;
    max-width: 290px;
    aspect-ratio: 0.85; /* Portrait photo aspect */
    z-index: 2;
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(97, 88, 82, 0.1);
    border: 1px solid rgba(97, 88, 82, 0.12);
    position: relative;
    z-index: 3;
    background-color: var(--bg-secondary);
}

.frame-decoration-yellow {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 60px;
    height: 60px;
    border-top: 3px solid #991b1b; /* Crimson */
    border-left: 3px solid #991b1b;
    z-index: 1;
    border-radius: 6px 0 0 0;
}

.frame-decoration-blue {
    display: none;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: #991b1b;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(153, 27, 27, 0.2);
}

.btn-primary:hover {
    background-color: #7f1d1d;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(153, 27, 27, 0.35);
}

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

.btn-secondary:hover {
    background-color: #f0fdfa;
    border-color: #0d9488;
    color: #0d9488;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Fade in up helper classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Section Common Layout */
section {
    padding: 110px 0;
    position: relative;
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 300;
}

.accent-line {
    width: 60px;
    height: 3.5px;
    background: #0d9488; /* Solid Teal */
    margin-top: 16px;
    border-radius: 5px;
}

/* About Section */
.about-section {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* About Section */
.about-section {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

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

.about-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.8;
}

.about-text strong {
    font-weight: 500;
    color: var(--text-primary);
}

/* Unified Work Section (Gallery mixed with external link resources) */
.work-section {
    background-color: var(--bg-secondary);
    padding: 60px 0;
}

.work-subsection {
    margin-bottom: 72px;
}

.work-subsection:last-child {
    margin-bottom: 0;
}

.work-subsection-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 500;
    margin-bottom: 28px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.work-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: #0d9488;
    border-radius: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.clips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.work-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
    text-decoration: none !important;
    color: var(--text-primary) !important;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(97, 88, 82, 0.2);
}

/* Badge overlay */
.work-card .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    z-index: 5;
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.work-card .badge-yellow {
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
}

.work-card .badge-blue {
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

/* Image grid items inside Work Grid */
.work-card.gallery-card {
    cursor: pointer;
}

.work-img-container {
    position: relative;
    width: 38%;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.work-img-container::before {
    content: "";
    display: block;
    padding-top: 100%; /* forces square aspect ratio */
}

@media (max-width: 768px) {
    .work-card {
        flex-direction: column;
    }
    .work-img-container {
        width: 100%;
    }
}

.work-img-container .gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 38, 33, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: var(--transition-smooth);
}

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

.work-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.work-info .clip-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 6px;
}

.work-info .clip-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.work-actions-row {
    margin-top: auto;
    display: flex;
}

.card-link-sm {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link-sm:hover {
    color: var(--text-primary);
}

.card-link-sm .arrow {
    transition: transform 0.2s ease;
}

.card-link-sm:hover .arrow {
    transform: translateX(3px);
}

/* Text resource card designs */
.work-card.card-text-resource {
    padding: 40px;
    justify-content: flex-start;
}

.card-text-resource .card-badge {
    position: static !important;
    align-self: flex-start;
    margin-bottom: 24px;
    display: inline-block;
}

.card-text-resource .work-text-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-text-resource .card-icon-small {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.card-text-resource .card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 16px;
}

.card-text-resource .card-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.65;
}

.card-text-resource .resource-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.full-width-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

/* Card theme styles - Pastel, Typography-Focused & Minimalist */

.work-card {
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.work-card .card-desc {
    color: var(--text-secondary) !important;
}

.work-card .card-title {
    color: var(--text-primary) !important;
}

.work-card .clip-title {
    color: var(--text-primary) !important;
}

.work-card .clip-category {
    color: #991b1b !important; /* Crimson accent */
}

.work-card .clip-desc-sm {
    color: var(--text-secondary) !important;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-top: 8px;
    font-weight: 400;
}

.work-card .card-link-sm {
    color: #991b1b !important;
    border-bottom: 1px solid rgba(153, 27, 27, 0.25) !important;
}

.work-card .card-link-sm:hover {
    border-bottom-color: #ffffff;
}

.work-card .card-badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.work-card .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.work-card .btn-secondary:hover {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    border-color: #ffffff !important;
}

.work-card .btn-primary {
    background: #ffffff !important;
    color: var(--text-primary) !important;
    border: none !important;
}

.work-card .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
}

/* Online Journalism Grid Colors (Trend & Nargis Articles) */
.featured-grid > .work-card:nth-child(1) {
    background-color: #6b21a8; /* Plum Purple (Daniel Chidiac) */
}
.featured-grid > .work-card:nth-child(1):hover {
    box-shadow: 0 20px 48px -6px rgba(107, 33, 168, 0.4);
}

.featured-grid > .work-card:nth-child(2) {
    background-color: #065f46; /* Forest Emerald Green (Jane Austen) */
}
.featured-grid > .work-card:nth-child(2):hover {
    box-shadow: 0 20px 48px -6px rgba(6, 95, 70, 0.4);
}

.featured-grid > .work-card:nth-child(3) {
    background-color: #0369a1; /* Deep Sky/Cobalt (Mastercard) */
}
.featured-grid > .work-card:nth-child(3):hover {
    box-shadow: 0 20px 48px -6px rgba(3, 105, 161, 0.4);
}

.featured-grid > .work-card:nth-child(4) {
    background-color: #c2410c; /* Terracotta (US Embassy) */
}
.featured-grid > .work-card:nth-child(4):hover {
    box-shadow: 0 20px 48px -6px rgba(194, 65, 12, 0.4);
}

.featured-grid > .work-card:nth-child(5) {
    background-color: #1e3a8a; /* Sapphire Navy (Middle Corridor) */
}
.featured-grid > .work-card:nth-child(5):hover {
    box-shadow: 0 20px 48px -6px rgba(30, 58, 138, 0.4);
}

.more-journalism-link {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* Printed Publications Grid Colors */
/* Printed Publications Grid Colors */
.clips-grid:not(.three-col-grid) > .work-card:nth-child(1) {
    background-color: #fdf2f0; /* Blush Pink */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(1):hover {
    box-shadow: 0 10px 30px rgba(153, 27, 27, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(2) {
    background-color: #f0f4f1; /* Sage Green */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(2):hover {
    box-shadow: 0 10px 30px rgba(6, 95, 70, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(3) {
    background-color: #faf6ec; /* Sand Gold */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(3):hover {
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(4) {
    background-color: #f1f5f9; /* Slate Blue */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(4):hover {
    box-shadow: 0 10px 30px rgba(3, 105, 161, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(5) {
    background-color: #f4f1f8; /* Lavender */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(5):hover {
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(6) {
    background-color: #fdf6f0; /* Warm Peach */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(6):hover {
    box-shadow: 0 10px 30px rgba(190, 18, 60, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(7) {
    background-color: #eef7f4; /* Pale Mint */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(7):hover {
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(8) {
    background-color: #f9f5eb; /* Creamy Ochre */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(8):hover {
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(9) {
    background-color: #fdf2f0; /* Blush Pink */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(9):hover {
    box-shadow: 0 10px 30px rgba(153, 27, 27, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(10) {
    background-color: #f0f4f1; /* Sage Green */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(10):hover {
    box-shadow: 0 10px 30px rgba(6, 95, 70, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(11) {
    background-color: #faf6ec; /* Sand Gold */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(11):hover {
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(12) {
    background-color: #f1f5f9; /* Slate Blue */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(12):hover {
    box-shadow: 0 10px 30px rgba(3, 105, 161, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(13) {
    background-color: #fdf2f0; /* Blush Pink */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(13):hover {
    box-shadow: 0 10px 30px rgba(153, 27, 27, 0.08);
}

.clips-grid:not(.three-col-grid) > .work-card:nth-child(14) {
    background-color: #f0f4f1; /* Sage Green */
}
.clips-grid:not(.three-col-grid) > .work-card:nth-child(14):hover {
    box-shadow: 0 10px 30px rgba(6, 95, 70, 0.08);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 38, 33, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-yellow);
    transform: rotate(90deg);
}

.lightbox-caption {
    margin-top: 20px;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-align: center;
    max-width: 600px;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-card {
    background-color: #065f46; /* Solid Deep Forest Emerald */
    border: none;
    border-radius: 30px;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: var(--card-shadow);
    color: #ffffff;
}

.contact-card .contact-title {
    color: #ffffff;
}

.contact-card .section-tag {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card .method-icon {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-card .method-label {
    color: rgba(255, 255, 255, 0.7);
}

.contact-card .method-link {
    color: #ffffff;
}

.contact-card .method-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.contact-card .social-link {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.contact-card .social-link:hover {
    background-color: #ffffff;
    color: #065f46;
    border-color: #ffffff;
}

.contact-header {
    max-width: 600px;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 12px;
    letter-spacing: -0.01em;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.method-icon {
    font-size: 1.5rem;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.method-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid transparent;
}

.method-link:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.social-channels {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-left: auto;
}

.social-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 8px 18px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--accent-yellow);
    background-color: var(--accent-yellow-light);
    transform: translateY(-2px);
}

.dot-separator {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-grid-two-col {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image-area {
        order: 1;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-secondary);
        box-shadow: -10px 0 30px rgba(97, 88, 82, 0.08);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Toggle active state */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-card {
        padding: 40px 24px;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-channels {
        margin-left: 0;
        margin-top: 12px;
    }
    
    .footer-container {
        text-align: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .lightbox {
        padding: 20px;
    }
}

/* Editorial Footer Styles */
.editorial-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: var(--bg-primary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-weight: 500;
}

.footer-link:hover {
    color: #991b1b;
}

.bullet {
    color: var(--border-color);
}

/* Masthead Responsiveness */
@media (max-width: 768px) {
    .masthead-logo {
        font-size: 2.1rem;
    }
    .nav-container-centered {
        gap: 16px 20px;
    }
    .nav-item {
        font-size: 0.8rem;
    }
}

/* Placeholder card styles */
.placeholder-card {
    background-color: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    box-shadow: inset 0 2px 8px rgba(97, 88, 82, 0.03);
}

.placeholder-icon {
    font-size: 2.8rem;
    margin-bottom: 24px;
    filter: grayscale(0.2);
}

.placeholder-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.placeholder-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Typography placeholder for gallery cards */
.placeholder-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #27272a, #09090b);
    height: 100%;
    width: 100%;
}

.placeholder-text-abbr {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: #e4e4e7;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
