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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.admin-link {
    color: var(--accent-color) !important;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.slider-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.slider-content .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 14px;
    height: 14px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Categories */
.categories {
    padding: 80px 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Albums Grid */
.featured,
.albums-section {
    padding: 80px 20px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.album-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.album-cover {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-info {
    padding: 1.5rem;
}

.album-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.album-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.album-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-bg);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Gallery Page */
.gallery-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    padding: 40px 20px;
    background-color: var(--light-bg);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.tags-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-filter {
    padding: 0.4rem 1rem;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Album Detail Page */
.album-header {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.album-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    color: #666;
}

/* Photos Grid */
.photos-section {
    padding: 60px 20px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    background-color: var(--light-bg);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

/* Video Support */
.video-item {
    position: relative;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.video-item:hover .video-play-icon {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.media-type-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Download Button */
.download-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.photo-item:hover .download-btn {
    opacity: 1;
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Album Actions */
.album-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.album-actions .btn {
    white-space: nowrap;
}

/* Lightbox Video */
.lightbox-video {
    max-width: 90vw;
    max-height: 80vh;
    outline: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

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

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

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

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

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 1rem;
}

/* Admin Page */
.admin-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 20px;
}

.admin-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
}

.admin-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.admin-tab.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.admin-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.albums-list {
    display: grid;
    gap: 1rem;
}

.album-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.album-item-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    background-color: #ddd;
}

.album-item-info {
    flex: 1;
}

.album-item-actions {
    display: flex;
    gap: 0.5rem;
}

.json-editor {
    width: 100%;
    min-height: 400px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 20px;
    margin-top: 4rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-slider {
        height: 80vh;
    }

    .slider-title {
        font-size: 2.5rem;
    }

    .slider-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Navigation */
    .nav {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        right: 0;
        width: 250px;
        height: calc(100vh - 72px);
        background-color: var(--white);
        display: none;
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        gap: 0;
        z-index: 99;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-bg);
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 1rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }

    .slider-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .slider-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .slider-nav {
        font-size: 2rem;
        padding: 0.75rem 1rem;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 12px;
        height: 12px;
    }

    /* Sections */
    .about,
    .categories,
    .featured,
    .albums-section,
    .photos-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Category and Album Grids */
    .category-grid,
    .album-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .album-cover {
        height: 200px;
    }

    /* Photos Grid */
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Contact Info */
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    /* Filter Section */
    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    /* Gallery Header */
    .gallery-header {
        padding: 40px 15px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* Album Header */
    .album-header {
        padding: 40px 15px;
    }

    .album-title {
        font-size: 1.75rem;
    }

    .album-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .album-actions {
        width: 100%;
        justify-content: stretch;
    }

    .album-actions .btn {
        flex: 1;
        min-width: 0;
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .video-play-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .download-btn {
        opacity: 1;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* Lightbox */
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.5rem;
        position: fixed;
    }

    .lightbox-prev {
        left: 10px;
        bottom: 20%;
        top: auto;
        transform: none;
    }

    .lightbox-next {
        right: 10px;
        bottom: 20%;
        top: auto;
        transform: none;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-img {
        max-height: 70vh;
    }

    /* Admin Panel */
    .admin-tabs {
        overflow-x: auto;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .admin-tab {
        padding: 0.75rem 1.5rem;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .album-item {
        flex-direction: column;
        text-align: center;
    }

    .album-item-thumb {
        width: 100%;
        height: 150px;
    }

    .album-item-actions {
        width: 100%;
        justify-content: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    /* Modal */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    /* Footer */
    .footer {
        padding: 1.5rem 15px;
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

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

    .slider-subtitle {
        font-size: 0.9rem;
    }

    .slider-nav {
        font-size: 1.5rem;
        padding: 0.5rem 0.75rem;
    }

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

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

    .filter-tabs {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Marketing redesign */
:root {
    --ink: #111111;
    --ink-soft: #2a2a2a;
    --paper: #f7f4ee;
    --paper-deep: #ebe5da;
    --gold: #b89b5e;
    --gold-dark: #7d6534;
    --muted: #7b756b;
    --line: rgba(17, 17, 17, 0.12);
}

body {
    background: var(--paper);
    color: var(--ink);
}

.header {
    background: rgba(247, 244, 238, 0.9);
    box-shadow: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
}

.home-page .header {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
}

.home-page .logo,
.home-page .nav-menu a {
    color: var(--white);
}

.home-page .logo small,
.home-page .nav-menu a:hover,
.home-page .nav-menu a.active,
.home-page .nav-cta {
    color: var(--gold) !important;
}

.home-page .menu-toggle span {
    background: var(--white);
}

.nav {
    max-width: 1320px;
    min-height: 72px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    color: var(--ink);
    letter-spacing: 0;
    line-height: 1;
}

.logo span {
    font-size: 1.25rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
}

.logo small {
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-menu a {
    color: rgba(17, 17, 17, 0.78);
    font-size: 0.92rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ink);
}

.nav-cta {
    border: 1px solid var(--gold);
    padding: 0.55rem 0.9rem;
    color: var(--gold-dark) !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(1.25);
}

.marketing-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    align-items: end;
    background: var(--ink);
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.44) 46%, rgba(0, 0, 0, 0.12)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 48%);
}

.liquid-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.liquid-field::before,
.liquid-field::after {
    content: "";
    position: absolute;
    will-change: transform, border-radius, opacity;
}

.liquid-field::before {
    top: 14vh;
    right: -6vw;
    width: min(58vw, 760px);
    height: min(58vh, 520px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.035) 44%, rgba(184, 155, 94, 0.08)),
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.2), transparent 34%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 38% 62% 48% 52% / 42% 34% 66% 58%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 28px 24px 70px rgba(255, 255, 255, 0.08),
        inset -30px -20px 90px rgba(184, 155, 94, 0.08),
        0 34px 110px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(28px) saturate(1.45) contrast(1.08);
    opacity: 0.72;
    animation: liquidSheet 12s ease-in-out infinite alternate;
}

.liquid-field::after {
    top: 16vh;
    right: 5vw;
    width: min(42vw, 520px);
    height: min(54vh, 460px);
    background:
        linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 39%, rgba(255, 255, 255, 0.42) 47%, rgba(255, 255, 255, 0.06) 55%, transparent 100%);
    border-radius: 40% 60% 46% 54% / 48% 40% 60% 52%;
    filter: blur(0.5px);
    opacity: 0.58;
    mix-blend-mode: screen;
    animation: glassHighlight 7s ease-in-out infinite;
}

@keyframes liquidSheet {
    0% {
        transform: translate3d(0, 0, 0) rotate(-6deg) scale(1);
        border-radius: 38% 62% 48% 52% / 42% 34% 66% 58%;
    }
    100% {
        transform: translate3d(-5vw, 5vh, 0) rotate(5deg) scale(1.06);
        border-radius: 56% 44% 58% 42% / 34% 52% 48% 66%;
    }
}

@keyframes glassHighlight {
    0%, 8% {
        transform: translate3d(-16vw, 1vh, 0) rotate(-18deg) scale(0.95);
        opacity: 0.18;
    }
    46% {
        transform: translate3d(0, -1vh, 0) rotate(-12deg) scale(1.04);
        opacity: 0.62;
    }
    100% {
        transform: translate3d(15vw, 2vh, 0) rotate(-8deg) scale(0.98);
        opacity: 0.16;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20vh 0 9vh;
    color: var(--white);
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-inner h1 {
    max-width: 880px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3.5rem, 8.6vw, 7.8rem);
    font-weight: 500;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.2rem;
}

.btn {
    border-radius: 3px;
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 16px 50px rgba(184, 155, 94, 0.24);
}

.btn-primary:hover {
    background: #d0b878;
    box-shadow: none;
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px) saturate(1.25);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 4.4rem;
}

.hero-proof span {
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(20px) saturate(1.35);
    padding: 0.58rem 0.82rem;
    font-size: 0.86rem;
}

.service-band,
.featured-work,
.process-band,
.about-marketing,
.contact-cta {
    padding: 96px 20px;
}

.service-band,
.about-marketing {
    background: var(--paper);
}

.featured-work,
.contact-cta {
    background: #101010;
    color: var(--white);
}

.process-band,
.market-band {
    background: var(--paper-deep);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.section-heading.split {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.section-heading h2,
.about-layout h2,
.contact-layout h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.section-heading p:not(.eyebrow),
.contact-layout p,
.about-layout p,
.process-list p,
.service-card p {
    color: var(--muted);
    line-height: 1.85;
}

.featured-work .section-heading p,
.contact-cta p {
    color: rgba(255, 255, 255, 0.68);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    background: transparent;
    border: 0;
}

.market-band {
    padding: 92px 20px;
}

.market-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
    gap: 4rem;
    align-items: start;
}

.market-layout h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.market-layout p {
    color: var(--muted);
    line-height: 1.85;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    background: rgba(17, 17, 17, 0.08);
    gap: 1px;
}

.market-grid > div {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.18)),
        var(--paper);
    padding: 1.45rem;
    min-height: 260px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(1.12);
}

.market-grid span {
    color: var(--gold-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.market-grid h3 {
    margin: 0.75rem 0;
    font-size: 1.2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid var(--line);
    min-height: 0;
    display: grid;
    overflow: hidden;
}

.service-card:first-child {
    grid-column: span 7;
    grid-row: span 2;
    grid-template-rows: 420px 1fr;
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
    grid-column: span 5;
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86);
}

.service-card div {
    padding: 1.8rem;
}

.service-card span,
.process-list span {
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.service-card h3,
.process-list h3 {
    font-size: 1.45rem;
    margin: 0.65rem 0 0.75rem;
}

.service-card a,
.text-link {
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.15rem;
}

.featured-work .text-link {
    color: var(--gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.4rem;
}

.portfolio-card {
    cursor: pointer;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100%;
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(2) {
    grid-column: span 6;
}

.portfolio-card:nth-child(n+3) {
    grid-column: span 3;
}

.portfolio-card:nth-child(1) .portfolio-image,
.portfolio-card:nth-child(2) .portfolio-image {
    aspect-ratio: 16 / 11;
}

.portfolio-card:hover img {
    transform: scale(1.04);
}

.portfolio-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #222;
}

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

.portfolio-info {
    padding: 1.1rem;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    margin-bottom: 0.45rem;
}

.portfolio-info h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.portfolio-info span {
    display: inline-block;
    color: var(--gold);
    border: 1px solid rgba(184, 155, 94, 0.4);
    padding: 0.2rem 0.5rem;
    margin: 0 0.35rem 0.35rem 0;
    font-size: 0.78rem;
}

.image-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.5);
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
    gap: 4rem;
}

.process-list {
    display: grid;
    gap: 1rem;
}

.process-list > div {
    border-top: 1px solid var(--line);
    padding-top: 1.3rem;
}

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.3fr);
    gap: 4rem;
    align-items: start;
}

.about-layout p {
    font-size: 1.02rem;
}

.about-lead {
    color: var(--ink) !important;
    font-size: 1.16rem !important;
    margin-bottom: 1rem;
}

.contact-info {
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.contact-item {
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 0.65rem 0.85rem;
}

.contact-panel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1.4rem;
    display: grid;
    gap: 0.9rem;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
        rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.contact-button {
    display: block;
    text-decoration: none;
    text-align: center;
    color: var(--ink);
    background: var(--gold);
    padding: 0.9rem 1rem;
    font-weight: 700;
}

.contact-button + .contact-button {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-panel strong {
    color: var(--white);
}

.gallery-header {
    background: #101010;
    padding: 86px 20px;
}

.page-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
}

.filter-section {
    background: var(--paper-deep);
}

.filter-btn,
.tag-filter {
    border-radius: 3px;
}

.footer {
    background: #101010;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
    .service-grid,
    .portfolio-grid,
    .process-layout,
    .about-layout,
    .contact-layout,
    .market-layout,
    .market-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .service-card:first-child,
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .portfolio-card:nth-child(1),
    .portfolio-card:nth-child(2),
    .portfolio-card:nth-child(n+3) {
        grid-column: auto;
    }

    .service-card:first-child,
    .service-card:nth-child(2),
    .service-card:nth-child(3) {
        grid-template-columns: 1fr;
        grid-template-rows: 260px 1fr;
    }

    .section-heading.split {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        position: sticky;
    }

    .nav-menu {
        background: var(--paper);
    }

    .home-page .nav-menu a {
        color: var(--ink);
    }

    .home-page .nav-cta {
        color: var(--gold-dark) !important;
        background: transparent;
    }

    .marketing-hero {
        min-height: 720px;
    }

    .hero-inner {
        width: min(100% - 30px, 680px);
        padding-bottom: 7vh;
    }

    .hero-inner h1 {
        font-size: 3.1rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .liquid-field {
        opacity: 0.62;
    }

    .liquid-field::before {
        top: 18vh;
        right: -36vw;
        width: 92vw;
        height: 42vh;
    }

    .liquid-field::after {
        top: 19vh;
        right: -8vw;
        width: 72vw;
        height: 40vh;
    }

    .service-band,
    .featured-work,
    .process-band,
    .about-marketing,
    .contact-cta,
    .market-band {
        padding: 68px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-field::before,
    .liquid-field::after {
        animation: none;
    }
}

@media (max-width: 480px) {
    .hero-inner h1 {
        font-size: 2.55rem;
    }

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

    .hero-proof span {
        flex: 1 1 auto;
        text-align: center;
    }
}
