/* 
   Richardson Gallery of Fine Art Style System
   Theme: Luxury Minimalist Art Gallery (Warm Stone, Charcoal, Gold Leaf Accents)
*/

:root {
    --primary-color: #1c1917;       /* Deep Charcoal (Stone 900) */
    --secondary-color: #44403c;     /* Muted Charcoal (Stone 700) */
    --accent-color: #c5a059;        /* Warm Gold Leaf / Antique Gold */
    --accent-hover: #b08a46;        /* Deeper Gold */
    --bg-light: #fafaf9;            /* Soft Cream (Stone 50) */
    --bg-card: #ffffff;
    --text-main: #57534e;           /* Medium Grey (Stone 600) */
    --text-light: #878580;          /* Warm Muted Grey */
    --text-dark: #1c1917;
    --border-color: #e7e5e4;        /* Light Grey (Stone 200) */
    --border-gold: rgba(197, 160, 89, 0.3);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.5s;
    --transition-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 500;
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: all var(--transition-speed) var(--transition-ease);
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #ffffff;
}

.primary-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.small-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 24px auto 0 auto;
}

.divider.align-left {
    margin-left: 0;
}

/* Top Contact Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 10px 0;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    color: #cccccc;
}

.bar-item a:hover {
    color: var(--accent-color);
}

.bar-item svg {
    color: var(--accent-color);
}

/* Header & Logo */
.main-header {
    background-color: rgba(250, 250, 249, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    margin-top: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a:not(.cta-btn) {
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.main-nav a:not(.cta-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.cta-btn):hover::after {
    width: 100%;
}

.main-nav a:not(.cta-btn):hover {
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle .line {
    width: 24px;
    height: 1px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    max-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(28, 25, 23, 0.9) 30%, rgba(28, 25, 23, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 600px;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-content .badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    border: 1px solid var(--border-gold);
    padding: 6px 16px;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.hero-actions .secondary-btn {
    color: #ffffff;
    border-color: #ffffff;
}

.hero-actions .secondary-btn:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 300;
}

.stat-card p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaaaaa;
}

/* Collections Section */
.collections-section {
    background-color: #f6f5f2;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 10px 20px;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.gallery-item {
    transition: all 0.4s ease;
}

.artwork-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.artwork-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.artwork-image-container {
    position: relative;
    overflow: hidden;
    background-color: #eee;
    aspect-ratio: 3/4;
}

/* Ensure the hero category artwork preserves its widescreen aspect ratio */
.gallery-item[data-category="hero"] .artwork-image-container {
    aspect-ratio: 16/9;
}

.artwork-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.artwork-card:hover .artwork-image-container img {
    transform: scale(1.06);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 25, 23, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.view-artwork-btn {
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 10px 20px;
    background-color: rgba(28, 25, 23, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.artwork-card:hover .view-artwork-btn {
    border-color: #ffffff;
}

.artwork-details {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artwork-details h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    line-height: 1.2;
}

.artist-name {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 600;
}

.artwork-tag {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

/* Biography Section */
.biography-section {
    background-color: var(--bg-light);
}

.bio-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.bio-image-wrapper {
    position: relative;
}

.bio-image-frame {
    border: 1px solid var(--border-color);
    padding: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
    z-index: 2;
    position: relative;
}

.bio-image-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.frame-accent {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    z-index: 1;
}

.bio-content .bio-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.bio-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.bio-content p {
    margin-bottom: 20px;
    color: var(--text-main);
}

.bio-content p.lead-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    line-height: 1.5;
}

.bio-quote {
    border-left: 2px solid var(--accent-color);
    padding-left: 24px;
    margin-top: 36px;
    font-style: italic;
}

.bio-quote p {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 8px;
}

.bio-quote cite {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-style: normal;
    font-weight: 600;
}

/* Sourcing Section */
.sourcing-section {
    background-color: #f0eeea;
}

.sourcing-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.sourcing-info h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.sourcing-info p {
    margin-bottom: 24px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.method-item h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.method-item p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.method-item a:hover {
    color: var(--accent-color);
}

.sourcing-form-container {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.consultation-form h3 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.consultation-form p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: #fafaf9;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #ffffff;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
}

.form-feedback {
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
    padding: 10px;
}

.form-feedback.success {
    display: block;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-feedback.error {
    display: block;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Community Section */
.community-section {
    background-color: var(--bg-light);
}

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

.community-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.card-num {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--border-gold);
    line-height: 1;
}

.community-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    padding-right: 40px;
}

.community-card p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--accent-color);
}

.arrow-link svg {
    transition: transform 0.3s ease;
}

.arrow-link:hover {
    color: var(--text-dark);
}

.arrow-link:hover svg {
    transform: translateX(4px);
}

/* Visit & Contact Section */
.visit-section {
    background-color: #ecebe6;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.visit-details h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.gallery-address {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.4;
}

.info-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.info-block h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-block p {
    margin-bottom: 4px;
    color: var(--text-dark);
}

.map-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 12px;
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.gallery-map {
    height: 400px;
    width: 100%;
}

.map-overlay-details {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1000;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 25, 23, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(8px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    z-index: 1010;
    transition: color 0.3s ease;
}

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

.lightbox-content-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    background-color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.lightbox-image-box {
    background-color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image-box img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-info-box {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.lightbox-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

.lightbox-tag {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.lightbox-description {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    display: block;
    line-height: 1;
}

.footer-brand .footer-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    display: block;
    margin-top: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.6;
}

.footer-links h4, .footer-legal h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    font-family: var(--font-body);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-legal p {
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-legal strong {
    color: #bbbbbb;
}

.footer-legal .copyright {
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

/* Drifting Hero BG Animation */
@keyframes heroDrift {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.05) translate(-1%, -1%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-bg.drift {
    animation: heroDrift 20s ease-in-out infinite;
}

/* Floating Image Animation */
@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.floating-img {
    animation: floatImage 6s ease-in-out infinite;
}

/* Grayscale theme for Leaflet map */
.leaflet-container {
    background: #e5e3df;
}

.leaflet-tile {
    filter: grayscale(100%) invert(8%) contrast(90%);
}

/* Scroll reveal system base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Layouts */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .bio-container, .sourcing-grid, .visit-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .bio-image-frame img {
        height: 380px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-legal {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .top-bar {
        display: none;
    }
    .header-container {
        height: 70px;
    }
    .logo-main {
        font-size: 1.6rem;
    }
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s var(--transition-ease);
        z-index: 99;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .main-nav.active {
        transform: translateX(0);
    }
    .main-nav a:not(.cta-btn) {
        font-size: 1rem;
    }
    .mobile-toggle {
        display: flex;
    }
    /* Mobile hamburger active animations */
    .mobile-toggle.active .line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-toggle.active .line:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .hero {
        height: 70vh;
        min-height: 480px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .community-grid {
        grid-template-columns: 1fr;
    }
    .sourcing-form-container {
        padding: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .lightbox-content-container {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    .lightbox-info-box {
        padding: 24px;
    }
    .lightbox-title {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-legal {
        grid-column: span 1;
    }
}
