/*
 * Ricardo Valverde Photography LLC - Components
 * Reusable UI components (buttons, cards, forms, navigation, etc.)
 *
 * ===========================================================================
 * COMPONENT ARCHITECTURE
 * ===========================================================================
 *
 * BEM NAMING CONVENTION (Block-Element-Modifier):
 * WHY: Predictable, scalable CSS class names
 *
 * PATTERN:
 * .block: Component base (.card, .button, .navbar)
 * .block__element: Part of component (.card__title, .button__icon)
 * .block--modifier: Variation (.button--primary, .card--elevated)
 *
 * EXAMPLES:
 * .card: Base card component
 * .card__header: Card's header section
 * .card--shadow: Card with shadow variation
 *
 * BENEFITS:
 * ✅ No specificity wars: flat structure
 * ✅ Clear relationships: See component structure in HTML
 * ✅ Portable: Components work anywhere
 * ✅ Team-friendly: Predictable naming for new developers
 *
 * ===========================================================================
 * COMPONENT ORGANIZATION
 * ===========================================================================
 *
 * FILE STRUCTURE (by category):
 * 1. Navigation: navbar, nav-menu, mobile-nav
 * 2. Buttons: Primary, secondary, sizes, states
 * 3. Cards: Content containers with headers/footers
 * 4. Forms: Inputs, labels, validation, select dropdowns
 * 5. Alerts/Notifications: Success, error, warning toasts
 * 6. Tables: Data tables with sorting, hover states
 * 7. Modals: Overlays, dialogs
 * 8. Utilities: Spacing, display, visibility helpers
 *
 * WHY ORGANIZED: Easy to find and maintain
 * ===========================================================================
 * DESIGN PATTERNS
 * ===========================================================================
 *
 * BUTTON HIERARCHY:
 * .btn-primary: Main action (gradients, bold colors)
 * .btn-secondary: Secondary action (outlines)
 * .btn-ghost: Tertiary action (text only)
 *
 * WHY 3 LEVELS: Visual hierarchy for user guidance
 * - Testing: Too many button types = confusing
 * - 3 levels: Clear priority without overwhelming
 *
 * CARD ELEVATIONS:
 * .card: Base (subtle border)
 * .card--shadow: Hover or important (medium shadow)
 * .card--elevated: Hero or featured (large shadow)
 *
 * WHY SHADOWS: Material Design principle
 * - Higher elevation = more important
 * - Shadows indicate interactivity
 *
 * ===========================================================================
 * INTERACTION STATES
 * ===========================================================================
 *
 * ALL INTERACTIVE COMPONENTS HAVE:
 * :hover - Mouse over (desktop)
 * :focus - Keyboard navigation (accessibility)
 * :active - Click/press feedback
 * :disabled - Inactive state
 *
 * FOCUS STATES:
 * WHY VISIBLE: WCAG requirement for keyboard users
 * - outline: 2px solid color
 * - offset: 2px (space between element and outline)
 * - Never outline: none (accessibility violation)
 *
 * TRANSITION SPEEDS:
 * Fast (0.15s): Hover states (immediate feedback)
 * Base (0.3s): Animations, dropdowns
 *
 * ===========================================================================
 * ACCESSIBILITY CONSIDERATIONS
 * ===========================================================================
 *
 * COLOR CONTRAST:
 * - All text: 4.5:1 minimum (WCAG AA)
 * - Large text: 3:1 minimum
 * - Tested with WebAIM contrast checker
 *
 * KEYBOARD NAVIGATION:
 * - All interactive elements: focusable
 * - Focus indicators: visible
 * - Tab order: logical
 *
 * TOUCH TARGETS:
 * - Minimum 44x44px (Apple guideline)
 * - Buttons, links: Adequate padding
 * - Mobile: Even larger (48x48px)
 *
 * SCREEN READERS:
 * - Semantic HTML: <button> not <div onclick>
 * - ARIA labels: Where visual context insufficient
 * - Hidden text: For icon-only buttons
 *
 * ===========================================================================
 * PERFORMANCE OPTIMIZATIONS
 * ===========================================================================
 *
 * WILL-CHANGE property:
 * WHY: Hint browser to optimize animations
 * USE: Only on animated elements (.navbar on scroll)
 * AVOID: Overuse causes memory issues
 *
 * TRANSFORM over position:
 * WHY: Hardware accelerated (GPU vs CPU)
 * - transform: translateX(10px) ✅ Smooth
 * - left: 10px ❌ Jank
 *
 * CONTAIN property:
 * WHY: Isolate repaints to component
 * - .card { contain: layout style paint; }
 * - Browser: Don't check outside card for changes
 * - Result: Faster rendering
 *
 * ===========================================================================
 * BROWSER COMPATIBILITY
 * ===========================================================================
 *
 * TARGET BROWSERS:
 * ✅ Chrome 90+ (95% of B2B users)
 * ✅ Firefox 88+
 * ✅ Safari 14+
 * ✅ Edge 90+ (Chromium)
 * ❌ IE11 (not supported, <1% usage)
 *
 * MODERN CSS FEATURES USED:
 * - CSS Grid: 95% support
 * - CSS Custom Properties: 95% support
 * - clamp(): 90% support
 * - :focus-visible: 90% support (graceful degradation)
 *
 * FALLBACKS:
 * - @supports: Feature detection for cutting-edge CSS
 * - Progressive enhancement: Works without advanced features
 */

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, #4A3A2A 0%, #5C4A38 100%);
    /* Rich sepia brown gradient */
    border-bottom: 2px solid rgba(201, 117, 114, 0.3);
    padding: var(--spacing-lg) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: #F5EFE7;
    /* Light cream for visibility on dark navbar */
}

/* WHY: Responsive logo system - full logo on desktop, mini RVP logo on mobile
 * Full logo (Logo_New_Web_v1.png) provides complete brand identity
 * Mini logo (Logo_New_RVP_v1.png) saves space on mobile while maintaining recognition
 *
 * UPDATED May 26, 2026: Added crisp rendering for high-quality display
 */
.navbar-brand .logo {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease, filter 0.3s ease;

    /* WHY: Hero Logo_v1.png - Clean, professional logo (no softening needed) */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;

    /* WHY: Subtle shadow for navbar depth */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.navbar-brand .logo:hover {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

/* WHY: Show full logo on desktop/tablet with cream backdrop for visibility on dark navbar */
.navbar-brand .logo-full {
    display: block;
    /* WHY: Logos are black ink - cream backdrop makes them pop against dark navbar */
    background: rgba(245, 239, 231, 0.95);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.navbar-brand .logo-mini {
    display: none;
}

/* WHY: On mobile (<600px), switch to compact RVP mini logo to save navbar space */
@media (max-width: 600px) {
    .navbar-brand .logo-full {
        display: none;
    }

    .navbar-brand .logo-mini {
        display: block;
        height: 35px;
        /* Slightly smaller for mobile optimization */

        /* WHY: Logos are black ink - cream backdrop makes them pop against dark navbar */
        background: rgba(245, 239, 231, 0.95);
        padding: 8px 12px;
        border-radius: 8px;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #E8DCC8;
    /* Warm beige for rich look */
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.nav-menu a:hover {
    color: #C97572;
    /* Terracotta accent */
    background: rgba(201, 117, 114, 0.15);
}

.nav-menu a.active {
    color: #C97572;
    /* Terracotta accent */
    font-weight: 600;
    background: rgba(201, 117, 114, 0.2);
}

.nav-link {
    color: #E8DCC8;
    /* Warm beige */
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-link:hover {
    color: #C97572;
    /* Terracotta accent */
    background: rgba(201, 117, 114, 0.15);
}

.nav-link.active {
    color: #C97572;
    /* Terracotta accent */
    font-weight: 600;
    background: rgba(201, 117, 114, 0.2);
}

.nav-link.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.nav-link.btn-outline:hover {
    background: var(--accent);
    color: var(--text-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #E8DCC8;
    /* Light beige for visibility on dark navbar */
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #4A3A2A 0%, #5C4A38 100%);
        /* Rich sepia brown - matches navbar */
        flex-direction: column;
        padding: var(--spacing-xl);
        gap: var(--spacing-sm);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }
}

/* Dashboard Navbar */
.navbar-dashboard {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.navbar-dashboard .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.btn-icon {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.btn-icon:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.btn-icon .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger);
    color: var(--text-white);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
}

.user-menu-btn:hover {
    background: var(--bg-light);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-name {
    font-weight: 500;
    color: var(--text-primary);
}

.user-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--spacing-sm);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    overflow: hidden;
}

.user-menu:hover .user-menu-dropdown {
    display: block;
}

.dropdown-item {
    display: block;
    padding: var(--spacing-md);
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-light);
}

/* ===== SIDEBAR ===== */
.sidebar-nav {
    padding: var(--spacing-lg) 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: var(--bg-light);
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 600;
}

.sidebar-link svg {
    flex-shrink: 0;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    user-select: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-success {
    background: var(--success);
    color: var(--text-primary);
}

.btn-warning {
    background: var(--warning);
    color: var(--text-primary);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-white);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border-light);
}

.card-body {
    padding: var(--spacing-xl);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    color: var(--accent);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.feature-card .card-icon {
    margin: 0 auto var(--spacing-lg);
}

/* Service Cards */
.service-card {
    border: 2px solid var(--border-light);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-detail-card .card-header {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.service-detail-card .card-header .card-title {
    color: var(--text-white);
    margin: 0;
}

/* Value Cards */
.value-card {
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
}

/* Team Cards */
.team-card {
    text-align: center;
}

.team-photo-placeholder {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
}

/* Action Cards */
.action-card {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
}

.action-card .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.card-icon-primary {
    background: rgba(184, 84, 80, 0.1);
    color: var(--accent);
}

.card-icon-success {
    background: rgba(107, 142, 111, 0.1);
    color: var(--success);
}

.card-icon-warning {
    background: rgba(201, 169, 97, 0.1);
    color: var(--warning);
}

.card-icon-info {
    background: rgba(74, 74, 74, 0.1);
    color: var(--secondary);
}

/* Stat Cards */
.stat-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.stat-icon-primary {
    background: rgba(184, 84, 80, 0.1);
    color: var(--accent);
}

.stat-icon-success {
    background: rgba(107, 142, 111, 0.1);
    color: var(--success);
}

.stat-icon-warning {
    background: rgba(201, 169, 97, 0.1);
    color: var(--warning);
}

.stat-icon-info {
    background: rgba(74, 74, 74, 0.1);
    color: var(--secondary);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 84, 80, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    user-select: none;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-message {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(107, 142, 111, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    display: block;
    background: rgba(168, 86, 83, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Contact Form */

/* ===========================================================================
   INQUIRY TYPE — Visual Tile Selector
   WHY: Replaces a plain <select> dropdown with prominent, tappable cards.
   The tile the visitor picks becomes the lead context for the entire message.
   A hidden <select> preserves form semantics and URL-param pre-fill logic.
   =========================================================================== */
.inquiry-lead {
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.inquiry-lead-label {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.01em;
}

.inquiry-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    text-align: left;
}

@media (max-width: 640px) {
    .inquiry-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.inquiry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: var(--spacing-xl) var(--spacing-md);
    background: #FAFAF8;
    border: 2px solid #E5DDD4;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease,
        transform 180ms ease, box-shadow 180ms ease;
    font-family: inherit;
    color: var(--text-primary);
    /* WHY: reset button defaults */
    appearance: none;
    -webkit-appearance: none;
}

.inquiry-card:hover {
    border-color: #C97572;
    background: #FDF2F1;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 117, 114, 0.15);
}

/* Selected state — set via JS when card is clicked or URL-param pre-fills */
.inquiry-card.selected {
    border-color: #C97572;
    background: #FDF2F1;
    box-shadow: 0 4px 18px rgba(201, 117, 114, 0.22),
        inset 0 0 0 1px rgba(201, 117, 114, 0.35);
    transform: translateY(-2px);
}

/* Checkmark badge — top-right corner of selected card */
.inquiry-card.selected::after {
    content: '\2713';
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background: #C97572;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.25rem;
}

.inquiry-card-icon {
    font-size: 2.25rem;
    line-height: 1;
    display: block;
    margin-bottom: 0.25rem;
}

.inquiry-card-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.2;
}

.inquiry-card.selected .inquiry-card-title {
    color: #C97572;
}

.inquiry-card-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.contact-form-container {
    background: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-info-container {
    background: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
}

.contact-info-card {
    margin-top: var(--spacing-xl);
}

.info-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-quick-links {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-light);
}

.contact-quick-links h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.contact-quick-links ul {
    list-style: none;
    padding: 0;
}

.contact-quick-links li {
    margin-bottom: var(--spacing-sm);
}

/* Login Form */
.login-card {
    background: var(--bg-white);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.login-logo {
    max-width: 120px;
    margin: 0 auto var(--spacing-lg);
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.login-subtitle {
    color: var(--text-secondary);
}

.login-divider {
    text-align: center;
    position: relative;
    margin: var(--spacing-xl) 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-light);
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-divider span {
    background: var(--bg-white);
    padding: 0 var(--spacing-md);
    color: var(--text-muted);
}

.login-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-light);
}

.login-info {
    background: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-box {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.info-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* ===== TABLES ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--bg-light);
}

.data-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

.data-table tr:hover {
    background: var(--bg-light);
}

.document-cell {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success {
    background: rgba(107, 142, 111, 0.15);
    color: var(--success);
}

.badge-warning {
    background: rgba(201, 169, 97, 0.15);
    color: var(--warning);
}

.badge-danger {
    background: rgba(168, 86, 83, 0.15);
    color: var(--danger);
}

.badge-info {
    background: rgba(184, 84, 80, 0.15);
    color: var(--accent);
}

/* ===== FOOTER ===== */
/* WHY: Modern, compact footer design - logo pops, minimal vertical space */
.footer {
    background: linear-gradient(135deg, #1a1410 0%, #2d1f15 100%);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    /* Compact: reduced from 3xl/xl to xl/md */
    border-top: 1px solid rgba(201, 117, 114, 0.2);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    /* Compact: reduced from 2xl to lg */
}

.footer-section {
    flex: 1;
}

.footer-section:first-child {
    flex: 0 0 auto;
    /* Logo section doesn't grow */
}

.footer-logo {
    max-width: 50px;
    display: block;

    /* WHY: Strong white backdrop makes logo POP against dark footer */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(245, 239, 231, 0.96) 100%);
    padding: 5px 6px;
    border-radius: 6px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(201, 117, 114, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(201, 117, 114, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* WHY: Breathing room between badge logo card and tagline below it */
.footer-logo+p {
    margin-top: 2.5rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.375rem;
    /* Compact */
}

.footer-section h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.625rem;
    /* Compact */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8125rem;
}

.footer-section p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    /* Compact: reduced from xl to md */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p,
.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    margin: 0;
}

/* Mobile: Stack vertically but keep compact */
@media (max-width: 968px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }

    .footer-logo {
        max-width: 42px;
        padding: 4px 5px;
    }

    .footer-section ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 640px) {
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
        /* Extra compact on mobile */
    }

    .footer-content {
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        margin: 0 auto var(--spacing-md);
        max-width: 38px;
        padding: 3px 4px;
    }

    .footer-section ul {
        justify-content: center;
    }
}

/* ===== FEATURE LIST ===== */
.feature-list-detailed {
    list-style: none;
    padding: 0;
}

.feature-list-detailed li {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
}

.feature-list-detailed li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-list-detailed strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-list-detailed p {
    margin: 0;
    color: var(--text-secondary);
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.benefit-icon {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.25rem;
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GALLERY ===== */
/**
 * Gallery Filter Buttons
 */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

/**
 * Exhibition Archive Filter Bar — Underline Tab Strip
 * WHY: Cleaner, more editorial feel than pill buttons for a museum/gallery site.
 * A shared sliding indicator bar animates between tabs on click.
 * On narrow screens: horizontal scroll (no wrap) keeps all tabs accessible.
 */
.archive-filters {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    position: relative;
    /* WHY: Anchor for .tab-indicator */
    border-bottom: 1px solid rgba(61, 46, 31, 0.15);
    /* Subtle base rule */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.archive-filters::-webkit-scrollbar {
    display: none;
}

/* WHY: Override pill styles from .filter-btn — tabs are flat, no borders/bg */
.archive-filters .filter-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.975rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #6B5040;
    cursor: pointer;
    transition: color 200ms ease;
    transform: none;
}

.archive-filters .filter-btn:hover {
    background: transparent;
    color: #3D2E1F;
    transform: none;
}

.archive-filters .filter-btn.active {
    color: #3D2E1F;
    font-weight: 700;
    background: transparent;
    border-color: transparent;
}

/* Sliding indicator — injected and positioned by JS */
.tab-indicator {
    position: absolute;
    bottom: -1px;
    /* WHY: Sits on top of the base border-bottom rule */
    height: 3px;
    background: #C97572;
    /* Accent color — matches badge/active states elsewhere */
    border-radius: 2px 2px 0 0;
    transition: left 250ms cubic-bezier(0.4, 0, 0.2, 1),
        width 250ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    /* WHY: Don't intercept clicks */
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent-dark);
}

/**
 * WHY: Individual button colors match their corresponding badge colors
 * CONTEXT: Client requested filter buttons use same colors as exhibition badges
 * - Upcoming → Terracotta/coral (site accent)
 * - Current → Green (active shows)
 * - Flagship → Gold gradient (prestigious)
 * - All/Year → Neutral (default accent on hover/active)
 */
.filter-upcoming:hover,
.filter-upcoming.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent-dark);
}

.filter-current:hover,
.filter-current.active {
    background: #4CAF50;
    color: white;
    border-color: #45a049;
}

.filter-flagship:hover,
.filter-flagship.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2D2D2D;
    border-color: #FFA500;
}

/**
 * Gallery Grid Layout
 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/**
 * Gallery Item (Individual Photo Card)
 */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    background: var(--bg-dark);
    aspect-ratio: 4/3;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

/**
 * Gallery Overlay (Shows on Hover)
 */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 45, 45, 0.95) 0%, rgba(45, 45, 45, 0.7) 70%, transparent 100%);
    padding: var(--spacing-xl);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-xs);
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

/**
 * Gallery Grid Preview (Homepage Featured Works)
 */
.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

@media (max-width: 968px) {
    .gallery-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid-preview {
        grid-template-columns: 1fr;
    }
}

/**
 * Gallery Loading State
 */
.gallery-loading {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--text-secondary);
}

.gallery-empty {
    text-align: center;
    padding: var(--spacing-3xl);
}

/* ===== LIGHTBOX ===== */
/**
 * Full-Screen Photo Viewer Modal
 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/**
 * Lightbox Controls
 */
.lightbox-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: var(--spacing-xl);
}

.lightbox-next {
    right: var(--spacing-xl);
}

/**
 * Lightbox Content Container
 *
 * WHY SIDE-BY-SIDE LAYOUT:
 *   Image left (fills most of the screen), info right (compact panel).
 *   Forces small/low-res images to upscale via object-fit: contain so
 *   they fill the viewport rather than sitting at their native pixel size.
 */
.lightbox-content {
    display: grid;
    grid-template-columns: 1fr 260px;
    grid-template-rows: 88vh;
    max-width: 96vw;
    width: 96vw;
    gap: var(--spacing-xl);
    align-items: center;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**
 * Lightbox Image
 *
 * WHY width/height set to 100%:
 *   Low-res source images (400–800 px) would otherwise display at their
 *   native pixel size, appearing tiny on a modern display.
 *   Setting both dimensions to 100% of the grid cell and using
 *   object-fit: contain forces the browser to scale the image up to
 *   fill the available space while preserving aspect ratio.
 */
.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/**
 * Lightbox Photo Information
 */
.lightbox-info {
    align-self: center;
    color: white;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    max-height: 88vh;
}

.lightbox-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-sm);
    color: white;
}

.lightbox-meta {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 var(--spacing-md);
}

.lightbox-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}


/* ===========================================================================
   BOOK PAGE COMPONENTS
   ===========================================================================

   WHY: Dedicated styles for book purchase page
   - Showcase book cover with professional presentation
   - Clear pricing and purchase information
   - Sample pages preview grid
   - Reviews and testimonials
   ========================================================================== */

/**
 * Book Section — warm parchment background
 * WHY: Breaks from the stark white; warmer tone suits an art/photo book page
 */
.section-book {
    background: #F5EFE7;
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
}

/**
 * Book author credit line
 */
.book-author {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: -0.5rem 0 0;
    font-style: normal;
}

/**
 * Book Showcase
 * WHY: Two-column layout with book cover and details side-by-side
 */
.book-showcase {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    align-items: start;
    margin: var(--spacing-2xl) 0;
}

@media (max-width: 768px) {
    .book-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/**
 * Book Cover Container
 * WHY: Prominent display of book cover image with shadow
 */
.book-cover-container {
    position: sticky;
    top: calc(var(--navbar-height) + var(--spacing-lg));
}

.book-cover-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.book-cover-image:hover {
    transform: scale(1.02);
}

/**
 * Book Details Section
 */
.book-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.book-details h2 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin: 0 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .book-details h2 {
        font-size: 2rem;
    }
}

/**
 * Book Description
 */
.book-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.book-description p {
    margin: 0 0 var(--spacing-md);
}

.book-description p:last-child {
    margin-bottom: 0;
}

/**
 * Book Specifications
 */
.book-specs {
    background: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
}

.book-specs h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0 0 var(--spacing-md);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    color: var(--color-text);
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list strong {
    color: var(--color-dark);
    font-weight: 600;
    min-width: 140px;
    display: inline-block;
}

/**
 * Book Purchase Section
 */
.book-purchase {
    background: var(--color-background);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-accent);
}

.book-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) 0;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--spacing-lg);
}

.price-label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
}

.price-note {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    font-style: italic;
}

/**
 * Purchase Options
 */
.purchase-options {
    text-align: center;
}

.purchase-options h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0 0 var(--spacing-md);
}

.purchase-options p {
    color: var(--color-text-secondary);
    margin: 0 0 var(--spacing-lg);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.direct-contact {
    text-align: center;
}

.direct-contact p {
    margin: var(--spacing-xs) 0;
    font-size: 1rem;
}

.direct-contact a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.direct-contact a:hover {
    text-decoration: underline;
}

/**
 * Shipping Information
 */
.shipping-info {
    background: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.shipping-info h3 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin: 0 0 var(--spacing-md);
}

.shipping-info ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    margin: 0;
}

.shipping-info li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text);
}

/**
 * Book Preview Grid
 * WHY: Display sample pages in responsive grid
 */
.book-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.preview-item {
    text-align: center;
}

.preview-item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-md);
    transition: transform 0.3s ease;
}

.preview-item img:hover {
    transform: translateY(-5px);
}

.preview-item p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

/**
 * Reviews Grid
 * WHY: Display testimonials in card format
 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.review-card {
    background: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===========================================================================
 * EXHIBITION GRID & CARDS — 3-Zone Architecture
 * ===========================================================================
 *
 * WHY 3 ZONES (per docs/EXHIBITIONS-ARCHITECTURE.md):
 *   Zone 1 (Logo):     Museum brand identity — visual anchor
 *   Zone 2 (Name):     Exhibition title — line-clamped for uniform height
 *   Zone 3 (More):     Consistent CTA position at card bottom
 *
 * WHY BEM PREFIX .exh-*:
 *   Avoids collisions with any existing .exhibition-* or .card styles.
 *   Short prefix keeps HTML readable.
 *
 * Last Updated: June 29, 2026 — Full implementation per spec v2
 * ===========================================================================
 */

/* --------------------------------------------------------------------------
 * Grid container
 * -------------------------------------------------------------------------- */
.exhibition-grid {
    /*
     * WHY 3 columns at desktop: museum-quality density without crowding.
     * 260px minimum keeps logos from collapsing on small screens.
     * auto-fill lets the grid self-adjust at edge breakpoints.
     */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    /* WHY: panels insert as grid rows — don't stretch */
}

@media (max-width: 900px) {
    .exhibition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .exhibition-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
 * Card base
 * -------------------------------------------------------------------------- */
.exh-card {
    /*
     * WHY flex column: zones stack cleanly; Zone 3 pinned to bottom via margin-top:auto.
     * WHY cursor pointer: entire card is the click target (not just the button).
     * WHY overflow hidden: logo zone corners clip correctly against card border-radius.
     */
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
    /* WHY: Subtle border so pale tint cards aren't invisible on light page bg */
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.exh-card:hover {
    /* WHY: 4px lift + deeper shadow = tangible affordance without being flashy (OI-8) */
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.exh-card--active {
    /* WHY: Ring + suppressed lift tells user "this card is open" */
    box-shadow: 0 0 0 3px rgba(201, 117, 114, 0.55);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
 * Card status tints
 * Flagship wins over status tint — set by JS via style.backgroundColor
 * -------------------------------------------------------------------------- */
/* (Tints applied inline by JS from STATUS_COLORS constants — no static class needed.) */

/* --------------------------------------------------------------------------
 * Zone 1 — Logo
 * -------------------------------------------------------------------------- */
.exh-card__logo-zone {
    /*
     * WHY fixed height 140px: uniform grid rows; prevents tall logos
     * from making some cards taller than others.
     */
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.55);
    /* WHY: Neutral backdrop so coloured logos read clearly */
}

.exh-card__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 200ms ease-out;
}

.exh-card:hover .exh-card__logo {
    /* WHY: Subtle logo scale reinforces "clickable" feel (OI-8) */
    transform: scale(1.05);
}

.exh-card__logo-zone--no-logo {
    /* WHY: When no logo, keep zone visible with placeholder */
    background: rgba(0, 0, 0, 0.04);
}

.exh-card__logo-placeholder {
    /*
     * WHY: Institution initial as large monogram keeps card branded
     * when logo asset is pending — better than a broken image.
     */
    font-size: 3rem;
    font-weight: 700;
    color: #9E8877;
    text-transform: uppercase;
    line-height: 1;
}

/* --------------------------------------------------------------------------
 * Zone 2 — Name
 * -------------------------------------------------------------------------- */
.exh-card__name-zone {
    /*
     * WHY fixed height 100px: all cards same height = aligned grid rows.
     * justify-content center vertically centers short titles.
     */
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem 0.5rem;
    gap: 0.4rem;
}

.exh-card__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    color: #2D2D2D;
    /* WHY 3-line clamp: prevents layout-breaking long exhibition titles */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    margin: 0;
}

.exh-card__badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --------------------------------------------------------------------------
 * Badges (status + flagship)
 * Background set inline by JS — only shared shape/typography here
 * -------------------------------------------------------------------------- */
.exh-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
 * Zone 3 — More Info
 * -------------------------------------------------------------------------- */
.exh-card__more-zone {
    /*
     * WHY margin-top auto: pins Zone 3 to the card bottom regardless of
     * how much vertical space Zones 1+2 consume.
     */
    margin-top: auto;
    padding: 0.6rem 1rem 1rem;
    text-align: center;
}

.exh-card__more-btn {
    /*
     * WHY ghost style (not solid): subtle CTA that doesn't fight the card's
     * tint or the logo. The whole card is already the click target.
     */
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid rgba(61, 46, 31, 0.4);
    border-radius: 6px;
    background: transparent;
    color: #4A3A2A;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.exh-card__more-btn:hover,
.exh-card--active .exh-card__more-btn {
    background: rgba(61, 46, 31, 0.08);
    border-color: rgba(61, 46, 31, 0.6);
}

.exh-card__more-btn[aria-expanded="true"] {
    background: rgba(61, 46, 31, 0.12);
    border-color: #4A3A2A;
}

/* --------------------------------------------------------------------------
 * Row-Expand Panel
 * -------------------------------------------------------------------------- */
.exh-panel {
    /*
     * WHY grid-column 1/-1: spans ALL columns regardless of breakpoint.
     * The panel is a flex child of .exhibition-grid, which is CSS grid,
     * so this works even when column count changes at different widths.
     *
     * WHY max-height + overflow hidden for animation:
     * height:auto cannot be transitioned in CSS. We animate max-height
     * from 0 to a large-enough value as the open/close proxy.
     */
    grid-column: 1 / -1;
    border-top: 3px solid;
    /* colour set inline by JS from badge color */
    border-radius: 0 0 12px 12px;
    padding: 0;
    position: relative;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    /* WHY: Closed = invisible, height 0 */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 300ms ease-out, opacity 300ms ease-out, padding 300ms ease-out;
}

.exh-panel--open {
    /* WHY 800px: generous enough for any additionalInfo + detail block */
    max-height: 800px;
    opacity: 1;
    padding: 1.75rem 2rem 2rem;
    /* WHY 200ms close vs 300ms open: feels snappier to close */
    transition: max-height 200ms ease-in, opacity 200ms ease-in, padding 200ms ease-in;
}

/* × Close button */
.exh-panel__close {
    /*
     * WHY 44×44px min: WCAG 2.1 touch target minimum.
     * WHY absolute top-right: universally understood convention for dismiss.
     */
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    color: #3D2E1F;
    transition: background 150ms ease;
    line-height: 1;
}

.exh-panel__close:hover {
    background: rgba(0, 0, 0, 0.13);
}

/* Inner layout */
.exh-panel__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.exh-panel__header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.exh-panel__logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    padding: 0.5rem;
}

.exh-panel__meta {
    flex: 1;
}

.exh-panel__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0 0 0.3rem;
    line-height: 1.3;
    /* WHY: Leave room for the × button */
    padding-right: 3rem;
}

.exh-panel__institution {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4A3A2A;
    margin: 0 0 0.15rem;
}

.exh-panel__location,
.exh-panel__curators,
.exh-panel__dates {
    font-size: 0.85rem;
    color: #5C5040;
    margin: 0 0 0.15rem;
}

.exh-panel__label {
    font-weight: 700;
    color: #3D2E1F;
}

/* Additional info scrollable block */
.exh-panel__additional {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    padding-top: 1rem;
}

.exh-panel__additional-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7A6055;
    margin: 0 0 0.5rem;
}

.exh-panel__additional-scroll {
    /*
     * WHY max-height 200px + overflow-y auto:
     * Prevents very long additionalInfo blocks from dominating the page.
     * Users can scroll within the panel. Per spec section 2.6.
     */
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #3A3030;
}

/* Mobile adjustments for panel */
@media (max-width: 580px) {
    .exh-panel__header {
        flex-direction: column;
    }

    .exh-panel__logo {
        width: 90px;
        height: 60px;
    }

    .exh-panel--open {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

/* --------------------------------------------------------------------------
 * No-results message
 * -------------------------------------------------------------------------- */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #7A6055;
    font-style: italic;
}
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.review-card blockquote {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 var(--spacing-md);
    font-style: italic;
}

.review-card cite {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-style: normal;
    font-weight: 600;
}

/**
 * Section CTA (Call to Action)
 * WHY: Prominent section for encouraging book purchase
 */
.section-cta {
    background: linear-gradient(135deg, #2D2D2D 0%, #4A3A2A 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.section-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin: 0 0 var(--spacing-md);
}

.section-cta p {
    /* WHY: Global <p> color is dark; override for dark-background CTA section */
    color: rgba(255, 255, 255, 0.92);
}

.section-cta .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .section-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

color: rgba(255, 255, 255, 0.8);
line-height: 1.6;
margin: 0;
}

/**
 * Lightbox Mobile Responsive
 */
@media (max-width: 768px) {
    .lightbox {
        padding: var(--spacing-md);
    }

    /* Stack vertically on mobile: image top, info below */
    .lightbox-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        width: 96vw;
        max-width: 96vw;
        gap: var(--spacing-md);
        align-items: start;
        max-height: 96vh;
        overflow-y: auto;
    }

    .lightbox-image {
        width: 100%;
        height: auto;
        max-height: 55vh;
        object-fit: contain;
    }

    .lightbox-info {
        max-height: none;
    }

    .lightbox-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: var(--spacing-sm);
    }

    .lightbox-next {
        right: var(--spacing-sm);
    }

    .lightbox-image {
        max-height: 60vh;
    }

    .lightbox-title {
        font-size: 1.5rem;
    }

    .lightbox-meta {
        font-size: 0.875rem;
    }

    .lightbox-description {
        font-size: 0.875rem;
    }
}

/* ===== FLOATING SOCIAL MEDIA BUTTONS ===== */
/**
 * Floating Facebook Icon
 *
 * WHY: Client wants small, unobtrusive Facebook icon to drive social media traffic
 *
 * UPDATED May 26, 2026: Reduced size for subtle floating presence
 * - Small, elegant icon that floats as user scrolls
 * - Not gigantic/dominating - subtle and professional
 * - Fixed position truly floats on top of content
 *
 * DESIGN:
 * - Fixed position that follows user scroll
 * - Compact circular design with Facebook blue (#1877F2)
 * - Smooth animations and hover effects
 * - Subtle pulsing animation
 * - Mobile-optimized positioning
 *
 * PLACEMENT:
 * - Desktop: Bottom-right corner, small 48px size
 * - Mobile: Even smaller for non-intrusive experience
 *
 * PERFORMANCE:
 * - CSS-only animations (GPU-accelerated)
 * - z-index: 1000 to float above all content except modals
 */
.floating-facebook {
    /* WHY: Fixed positioning ensures button stays visible during scroll */
    position: fixed;
    bottom: 20px;
    right: 20px;

    /* WHY: z-index 1000 keeps button above content but below modals (9999) */
    z-index: 1000;

    /* WHY: Small circular button - subtle and professional */
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    border-radius: 50%;

    /* WHY: Flexbox centers the Facebook icon perfectly */
    display: flex;
    align-items: center;
    justify-content: center;

    /* WHY: Subtle shadow - not overwhelming */
    box-shadow: 0 2px 12px rgba(24, 119, 242, 0.3),
        0 4px 24px rgba(24, 119, 242, 0.15);

    /* WHY: Smooth transitions for all interactions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* WHY: Pointer cursor indicates clickability */
    cursor: pointer;

    /* WHY: Prevents text selection when clicking */
    user-select: none;

    /* WHY: Very subtle pulsing - gentle attention without distraction */
    animation: floatPulse 4s ease-in-out infinite;
}

/**
 * Facebook Icon SVG Styling
 * WHY: SVG scales perfectly at all sizes, white icon pops against blue background
 */
.floating-facebook svg {
    width: 22px;
    height: 22px;
    fill: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/**
 * Hover Effects
 * WHY: Interactive feedback encourages clicks, subtle enlargement
 */
.floating-facebook:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.45),
        0 8px 32px rgba(24, 119, 242, 0.25);
}

/**
 * Active/Click State
 * WHY: Provides tactile feedback when user clicks
 */
.floating-facebook:active {
    transform: scale(0.95);
}

/**
 * Tooltip on Hover
 * WHY: Shows "Follow us on Facebook" message on hover
 */
.floating-facebook::before {
    content: 'Follow us on Facebook';
    position: absolute;
    right: 58px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
}

.floating-facebook:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/**
 * Pulsing Animation
 * WHY: Very subtle pulse - gentle 4-second loop, barely noticeable
 */
@keyframes floatPulse {

    0%,
    100% {
        box-shadow: 0 2px 12px rgba(24, 119, 242, 0.3),
            0 4px 24px rgba(24, 119, 242, 0.15);
    }

    50% {
        box-shadow: 0 3px 16px rgba(24, 119, 242, 0.35),
            0 6px 28px rgba(24, 119, 242, 0.2);
    }
}

/**
 * Mobile Responsive Adjustments
 * WHY: Even smaller on mobile - compact and non-intrusive
 */
@media (max-width: 768px) {
    .floating-facebook {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
    }

    .floating-facebook svg {
        width: 20px;
        height: 20px;
    }

    /* WHY: Hide tooltip on mobile (not enough screen space) */
    .floating-facebook::before {
        display: none;
    }
}

/**
 * Mobile Landscape Adjustments
 * WHY: Very compact on landscape mobile to conserve horizontal space
 */
@media (max-width: 768px) and (orientation: landscape) {
    .floating-facebook {
        width: 40px;
        height: 40px;
        bottom: 12px;
        right: 12px;
    }

    .floating-facebook svg {
        width: 18px;
        height: 18px;
    }
}

/* ===========================================================================
 * PRESS PAGE
 * ===========================================================================
 *
 * WHY THIS LAYOUT:
 * Press clippings/releases benefit from a newspaper-inspired vertical list —
 * each item reads as a distinct "story" with a clear type signal, publication
 * name, headline, and description before the CTA link.
 *
 * WHY TYPE BADGES (not just icons):
 * Curators and press contacts scan by type (Article vs Press Release vs Event)
 * before reading headlines. Explicit labels reduce cognitive load.
 *
 * Last Updated: June 29, 2026
 * ===========================================================================
 */

/* Year group (e.g. "2014") */
.press-year-group {
    margin-bottom: 3rem;
}

.press-year-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9E8877;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(61, 46, 31, 0.15);
    margin-bottom: 1.5rem;
}

/* Individual press card */
.press-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(61, 46, 31, 0.10);
    transition: background 200ms ease;
}

.press-card:last-child {
    border-bottom: none;
}

/* Type badge column */
.press-card__type {
    flex-shrink: 0;
    width: 110px;
    /* WHY: Fixed width keeps all headlines left-aligned */
    padding: 3px 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    height: fit-content;
    border-radius: 4px;
    margin-top: 4px;
    /* WHY: Optically align with first line of headline */
}

.press-card__type--article {
    background: #C97572;
}

/* terracotta — matches site accent */
.press-card__type--release {
    background: #4A3A2A;
}

/* dark sepia */
.press-card__type--event {
    background: #7A8F6B;
}

/* muted olive — distinct from article */

/* Body column */
.press-card__body {
    flex: 1;
    min-width: 0;
}

.press-card__outlet {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9E8877;
    margin-bottom: 0.3rem;
}

.press-card__headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D2D2D;
    line-height: 1.35;
    margin: 0 0 0.4rem;
}

.press-card__headline em {
    font-style: italic;
    font-weight: inherit;
}

.press-card__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: #7A6055;
    margin-bottom: 0.65rem;
}

.press-card__dot {
    color: #C0A898;
}

.press-card__description {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #5C5040;
    margin: 0 0 1rem;
}

/* Link button */
.press-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A3A2A;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(74, 58, 42, 0.35);
    padding-bottom: 1px;
    transition: color 180ms ease, border-color 180ms ease;
}

.press-card__link:hover {
    color: #C97572;
    border-color: #C97572;
}

.press-card__link--pdf {
    color: #5A6B52;
    border-color: rgba(90, 107, 82, 0.35);
}

.press-card__link--pdf:hover {
    color: #7A8F6B;
    border-color: #7A8F6B;
}

.press-card__link-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Press inquiry CTA at page bottom */
.press-inquiry {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background: rgba(61, 46, 31, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(61, 46, 31, 0.10);
    text-align: center;
}

.press-inquiry__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #9E8877;
    margin: 0 0 0.5rem;
}

.press-inquiry__text {
    font-size: 1rem;
    color: #5C5040;
    margin: 0 0 1.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* "More coverage coming" note */
.press-coming-soon {
    font-size: 0.875rem;
    color: #9E8877;
    font-style: italic;
    text-align: center;
    margin: 1.5rem 0 2.5rem;
}

/* ===========================================================================
 * PRESS DETAIL PAGES (press-*.html sub-pages)
 * ===========================================================================
 * WHY: Each press item gets its own sub-page so content is self-hosted and
 * never depends on third-party availability.
 * ===========================================================================
 */

/* Back link */
.press-detail__back {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7A6055;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 180ms ease;
}

.press-detail__back:hover {
    color: #C97572;
}

/* Page body wrapper */
.press-detail__body {
    max-width: 780px;
}

/* Photo credit line */
.press-detail__credit {
    font-size: 0.8rem;
    font-style: italic;
    color: #9E8877;
    margin-bottom: 1.5rem;
}

/* Outlet name bar (Article/Feature pages) */
.press-detail__outlet-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(61, 46, 31, 0.12);
}

.press-detail__outlet-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3D2E1F;
}

.press-detail__outlet-section {
    font-size: 0.8rem;
    color: #9E8877;
    font-style: italic;
}

/* Dateline */
.press-detail__dateline {
    font-size: 0.85rem;
    color: #9E8877;
    margin-bottom: 1.25rem;
}

/* Pull-quote */
.press-pullquote {
    border-left: 3px solid #C97572;
    padding: 0.75rem 1.5rem;
    margin: 1.75rem 0;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.65;
    color: #3D2E1F;
    background: rgba(201, 117, 114, 0.05);
    border-radius: 0 6px 6px 0;
}

.press-pullquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 600;
    color: #7A6055;
}

/* Summary paragraph */
.press-detail__summary {
    font-size: 0.975rem;
    line-height: 1.75;
    color: #4A3A2A;
    margin-bottom: 1.25rem;
}

/* Image + text split (ELAC page) */
.press-detail__content-split {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.press-detail__image {
    flex-shrink: 0;
    width: 240px;
}

.press-detail__image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.press-detail__image-caption {
    font-size: 0.775rem;
    color: #9E8877;
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
}

.press-detail__text p {
    font-size: 0.975rem;
    line-height: 1.75;
    color: #4A3A2A;
    margin-bottom: 1rem;
}

/* Source CTA box */
.press-detail__source-cta {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(61, 46, 31, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(61, 46, 31, 0.10);
    text-align: center;
}

.press-detail__source-cta p {
    font-size: 0.9rem;
    color: #7A6055;
    margin-bottom: 1rem;
}

/* Photo grid (VPAM opening page) */
.press-photo-grid {
    columns: 3;
    column-gap: 1rem;
}

.press-photo-grid img {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    border-radius: 6px;
    break-inside: avoid;
    transition: opacity 200ms ease;
}

.press-photo-grid img:hover {
    opacity: 0.88;
}

@media (max-width: 768px) {
    .press-photo-grid {
        columns: 2;
    }

    .press-detail__content-split {
        flex-direction: column;
    }

    .press-detail__image {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .press-photo-grid {
        columns: 1;
    }
}

/* Mobile */
@media (max-width: 580px) {
    .press-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .press-card__type {
        width: auto;
        display: inline-block;
        padding: 3px 10px;
        margin-top: 0;
    }
}

/* ===========================================================================
 * BUY PRINTS PAGE
 * WHY: Separate purchase-focused layout — browsable grid with inquiry CTA
 * per card. Reuses galleryPhotos data so adding photos to gallery-data.js
 * automatically appears here too.
 * ===========================================================================
 */

/* How-to-Order steps */
.prints-how-to {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.prints-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(61, 46, 31, 0.10);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prints-step__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #C97572;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.prints-step__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3D2E1F;
    margin-bottom: 0.4rem;
}

.prints-step__desc {
    font-size: 0.85rem;
    color: #7A6055;
    line-height: 1.55;
}

/* Filter bar (reuses .archive-filters / .tab-indicator from exhibitions) */

/* Prints grid */
.prints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
}

/* Print card */
.print-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: box-shadow 200ms ease, transform 200ms ease;
    display: flex;
    flex-direction: column;
}

.print-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    transform: translateY(-2px);
}

/* Thumbnail with hover overlay */
.print-card__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    /* WHY: matches the gallery grid ratio — consistent look between pages */
    overflow: hidden;
    background: #2A2017;
}

.print-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 350ms ease, opacity 350ms ease;
}

.print-card:hover .print-card__thumb img {
    transform: scale(1.04);
    opacity: 0.82;
}

.print-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 200ms ease;
}

.print-card:hover .print-card__overlay {
    opacity: 1;
}

.print-card__inquire-btn {
    background: #C97572;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.print-card__inquire-btn:hover {
    background: #b5605d;
    transform: scale(1.04);
}

/* Card info strip */
.print-card__info {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.print-card__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3D2E1F;
    line-height: 1.35;
    margin: 0;
}

.print-card__meta {
    font-size: 0.775rem;
    color: #9E8877;
}

.print-card__dims {
    font-size: 0.775rem;
    color: #9E8877;
    font-style: italic;
}

/* "Copied!" toast */
.prints-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #3D2E1F;
    color: #F5EFE7;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 9999;
}

.prints-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Print specs bar */
.prints-specs {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0 2rem;
    padding: 1.75rem 2rem;
    background: rgba(61, 46, 31, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(61, 46, 31, 0.09);
}

.prints-spec {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
}

.prints-spec__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C97572;
}

.prints-spec__value {
    font-size: 0.9rem;
    color: #3D2E1F;
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 768px) {
    .prints-how-to {
        flex-direction: column;
        gap: 1rem;
    }

    .prints-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.25rem;
    }

    .prints-step__number {
        margin-bottom: 0;
    }

    .prints-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .prints-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
