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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #ffffff;
    color: #fff;
    overflow-x: hidden;
    cursor: default;
    line-height: 1.6;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
    display: block;
}

.page-transition__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transform: translateX(-100%);
    animation: slideTransition 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

body.dark-mode .page-transition__overlay {
    background: #0a0a0a;
}

.page-transition__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    opacity: 1;
    animation: logoFade 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    pointer-events: none;
    width: auto;
    height: auto;
}

.page-transition__logo img {
    height: 120px;
    width: auto;
    max-width: 300px;
    filter: brightness(1);
    display: block;
}

.page-transition__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition__logo img {
    display: block;
    position: relative;
}

@keyframes slideTransition {
    0% {
        transform: translateX(-100%);
        opacity: 1;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes logoFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    75% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

.page-transition.hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

.page-transition.hidden .page-transition__overlay {
    animation: none !important;
    transform: translateX(100%) !important;
    display: none !important;
    opacity: 0 !important;
}

.page-transition.hidden .page-transition__logo {
    animation: none !important;
    opacity: 0 !important;
    display: none !important;
    visibility: hidden !important;
}

.page-transition.hidden .page-transition__logo img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Navigation - overlays hero so photo shows through */
nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.45) !important;
    background-color: rgba(10, 10, 10, 0.45) !important;
    background-image: none !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: opacity 0.3s ease;
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

body.dark-mode .logo-light {
    display: none;
}

body.dark-mode .logo-dark {
    display: block;
}

.logo:hover {
    opacity: 0.7;
}

.logo a {
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-item > a,
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    display: block;
    font-weight: 400;
}

.menu-item > a:hover,
.nav-link:hover {
    opacity: 0.6;
}

.dropdown-toggle {
    cursor: pointer;
}

/* Our Work dropdown */
.menu-item-has-children .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    padding: 12px 0;
    margin: 8px 0 0;
    min-width: 180px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-item-has-children:hover .submenu,
.menu-item-has-children.open .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode-toggle:hover {
    background: #000;
    color: #fff;
    transform: scale(1.05);
}

.dark-mode-toggle svg {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.dark-mode-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.dark-mode-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

body.dark-mode .dark-mode-toggle {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

body.dark-mode .dark-mode-toggle svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
    fill: none;
}

body.dark-mode .dark-mode-toggle .sun-icon,
body.dark-mode .dark-mode-toggle .moon-icon {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

body.dark-mode .dark-mode-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

body.dark-mode .dark-mode-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 1px;
    background: #000;
    transition: all 0.3s ease;
}

/* Hero Carousel Section — full-bleed under fixed nav */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.page-hero {
    position: relative;
    margin-top: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    padding: 0 40px;
}

.hero-title {
    font-size: clamp(32px, 8vw, 120px);
    font-weight: 300;
    letter-spacing: 5px;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Jost', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: 2px;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    margin-top: 40px;
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
}

.carousel-dot.active {
    background: #fff;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    font-size: 20px;
    pointer-events: auto !important;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-arrow.prev {
    left: 30px;
}

.carousel-arrow.next {
    right: 30px;
}

.carousel-arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.carousel-arrow.prev::before {
    transform: rotate(-135deg);
}

.carousel-arrow.next::before {
    transform: rotate(45deg);
}

/* Welcome Section */
.welcome-section {
    padding: 160px 40px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.welcome-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 80px;
    color: #fff;
    font-family: 'Jost', sans-serif;
}

.welcome-content {
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 2.2;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
}

.welcome-content p {
    margin-bottom: 40px;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 80px 0;
    flex-wrap: wrap;
}

.logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.logo-image.logo-dark {
    display: none;
}

.logo-image.logo-light {
    display: block;
}

body.dark-mode .logo-image.logo-light {
    display: none;
}

body.dark-mode .logo-image.logo-dark {
    display: block;
}

.logo-image:hover {
    opacity: 1;
}

/* Featured Engagement Story Section */
.featured-story-section {
    padding: 140px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.featured-story-content {
    font-size: clamp(18px, 3vw, 28px);
    line-height: 2;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

.featured-story-content em {
    font-style: italic;
    font-weight: 400;
}

/* Blog Section */
.blog-section {
    padding: 140px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

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

.blog-card {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image {
    opacity: 0.9;
}

.blog-date {
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 300;
}

.blog-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
}

.blog-excerpt {
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
    font-weight: 300;
}

.view-all {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.view-all:hover {
    opacity: 0.6;
}


/* Section Styles */
.section-title {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 80px;
    text-align: center;
    color: #fff;
    font-family: 'Jost', sans-serif;
}

.section-description {
    font-size: 16px;
    letter-spacing: 1px;
    opacity: 0.7;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    line-height: 1.8;
}

.content-section {
    padding: 160px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    margin-bottom: 100px;
}

.service-item h3 {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #fff;
}

.service-item p {
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 2;
    color: #fff;
    margin-bottom: 30px;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item ul li {
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fff;
}

/* Service Icons */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    color: #fff;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Page Hero Section */
.page-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    margin-top: 0;
}

/* Image with Text Section */
.image-with-text {
    margin: 120px 0;
}

.image-with-text__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.image-with-text__media-item {
    position: relative;
}

.image-with-text__media {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.image-with-text__media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    filter: grayscale(20%);
}

.image-with-text__media:hover img {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.image-with-text__text-item {
    display: flex;
    align-items: center;
}

.image-with-text__content {
    width: 100%;
}

.image-with-text__heading {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #fff;
}

@media (max-width: 768px) {
    .image-with-text__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .image-with-text__media {
        aspect-ratio: auto;
    }

    .image-with-text__media img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .page-hero {
        height: 50vh;
    }

    .contact-section > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* Grid for images */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4px;
    background-color: #ffffff;
    margin-top: 60px;
}

.grid-item {
    position: relative;
    aspect-ratio: 1;
    background-color: #f5f5f5;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.grid-item:hover {
    transform: translateY(0) scale(1.02);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    will-change: transform;
}

.grid-item.loaded img {
    opacity: 1;
    transform: scale(1);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    font-weight: 400;
}

.btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    border: 1px solid #fff;
    color: #fff;
}

.btn-white:hover {
    background: #fff;
    color: #fff;
}

.gallery-show-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.gallery-show-all-wrap[hidden] {
    display: none;
}

.gallery-show-all {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.gallery-show-all:hover {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

/* Contact Form */
.contact-section {
    padding: 160px 40px;
    max-width: 100%;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid #ccc;
    padding: 16px 18px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    letter-spacing: 1px;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.6;
    width: 100%;
    min-height: 48px;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
}

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

.contact-info {
    margin-top: 60px;
    text-align: center;
}

.contact-info p {
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 2;
    color: #fff;
    margin-bottom: 15px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.6;
}

/* Footer */
.site-footer,
footer {
    margin-top: 0;
    padding: 96px 40px 32px;
    background:
        radial-gradient(900px 320px at 50% 0%, rgba(196, 165, 116, 0.1), transparent 70%),
        #0a0a0a;
    color: #fff;
    border-top: 1px solid rgba(196, 165, 116, 0.22);
}

.site-footer__inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.site-footer__head {
    margin-bottom: 52px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-logo img {
    height: 64px;
    width: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 0.25s ease;
}

.footer-logo .logo-dark {
    display: none;
}

.footer-logo .logo-light {
    display: block;
}

body.dark-mode .footer-logo .logo-light {
    display: none;
}

body.dark-mode .footer-logo .logo-dark {
    display: block;
}

.footer-logo:hover img {
    opacity: 0.8;
}

.site-footer__tagline {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--home-accent, #c4a574);
    font-weight: 400;
}

.site-footer__lead {
    margin: 0 auto;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 48px;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.site-footer nav.footer-section,
.site-footer .footer-section {
    display: block;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    z-index: auto;
    padding: 0;
    margin: 0;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
}

.footer-section h3 {
    margin: 0 0 18px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--home-accent, #c4a574);
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 0 0 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.04em;
    font-weight: 300;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--home-accent, #c4a574);
}

.site-footer__social {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 36px 0 40px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.social-link:hover {
    color: var(--home-accent, #c4a574);
    border-color: var(--home-accent, #c4a574);
    background: rgba(196, 165, 116, 0.08);
    transform: none;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    padding-top: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
    border-top: none;
    background: transparent;
    margin: 0;
    max-width: none;
}

.footer-bottom__sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(196, 165, 116, 0.55);
    flex-shrink: 0;
}

.footer-bottom p {
    margin: 0;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.72);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.72);
}

.footer-credit a {
    color: #e8d5b5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--home-accent, #c4a574);
}

@media (max-width: 768px) {
    .site-footer,
    footer {
        padding: 72px 24px 28px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .site-footer__columns {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0;
        text-align: center;
    }

    .site-footer nav.footer-section,
    .site-footer .footer-section {
        align-items: center;
        text-align: center;
        width: 100%;
        padding-bottom: 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .site-footer .footer-section:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .footer-section h3 {
        width: 100%;
        margin-bottom: 14px;
    }

    .footer-section ul {
        width: 100%;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-section a {
        font-size: 15px;
    }

    .footer-logo img {
        height: 52px;
    }

    .site-footer__lead {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom__sep {
        display: none;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active .modal-content {
    opacity: 1;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modal-info {
    padding: 40px 0;
    text-align: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #fff;
}

.modal-description {
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.6;
    font-weight: 300;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid #000;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.close-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: currentColor;
}

.close-btn::before {
    transform: rotate(45deg);
}

.close-btn::after {
    transform: rotate(-45deg);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid #000;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.nav-arrow:hover {
    background: #000;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
    left: 30px;
}

.nav-arrow.next {
    right: 30px;
}

.nav-arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.nav-arrow.prev::before {
    transform: rotate(-135deg);
}

.nav-arrow.next::before {
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-carousel {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
    }

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

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .carousel-nav {
        bottom: 20px;
    }

    nav {
        padding: 12px 20px;
        padding-top: max(12px, env(safe-area-inset-top));
        position: absolute;
        background: rgba(10, 10, 10, 0.45) !important;
        background-color: rgba(10, 10, 10, 0.45) !important;
    }

    .logo img {
        height: 48px;
    }

    .logo-light,
    .logo-dark {
        height: 48px;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 1002;
        overflow-y: auto;
        padding: max(24px, env(safe-area-inset-top)) 24px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu.active {
        right: 0;
    }

    /* Mobile: Our Work dropdown */
    .menu-item-has-children .submenu {
        position: static;
        transform: none;
        margin: 0;
        padding: 0 0 0 20px;
        min-width: 0;
        background: transparent;
        border: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }

    .menu-item-has-children.open .submenu {
        max-height: 280px;
        margin-top: 12px;
    }

    .submenu a {
        padding: 8px 0;
        font-size: 13px;
    }

    .nav-actions {
        gap: 10px;
    }

    .dark-mode-toggle {
        width: 32px;
        height: 32px;
        top: 15px;
        right: 15px;
    }

    .dark-mode-toggle svg {
        width: 14px;
        height: 14px;
    }

    .mobile-menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        z-index: 1003;
    }

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

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

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

    .content-section {
        padding: 60px 20px;
    }

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

    .close-btn,
    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-arrow.prev {
        left: 10px;
    }

    .nav-arrow.next {
        right: 10px;
    }

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

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-title {
        font-size: clamp(24px, 6vw, 60px);
    }

    .featured-story-section {
        padding: 60px 20px;
    }

    .welcome-section {
        padding: 60px 20px;
    }

    .content-section {
        padding: 60px 20px;
    }

    .welcome-section[style*="background"] {
        padding: 60px 20px;
    }

    .welcome-section[style*="background"] .welcome-content > div {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-icon {
        width: 28px;
        height: 28px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .dark-mode-toggle {
        width: 32px;
        height: 32px;
        top: 15px;
        right: 15px;
    }

    .dark-mode-toggle svg {
        width: 14px;
        height: 14px;
    }

    .nav-actions {
        gap: 15px;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #0a0a0a;
    color: #fff;
}

body.dark-mode nav,
body nav,
nav {
    background: rgba(10, 10, 10, 0.45) !important;
    background-color: rgba(10, 10, 10, 0.45) !important;
    background-image: none !important;
}

body.dark-mode .menu {
    background: transparent;
}

@media (max-width: 768px) {
    body.dark-mode .menu {
        background: #0a0a0a;
    }
}

body.dark-mode .menu a {
    color: #fff;
}

body.dark-mode .menu a:hover {
    color: #fff;
}

body.dark-mode .mobile-menu-toggle span {
    background: #e5e5e5;
}

body.dark-mode .section-title,
body.dark-mode .welcome-title,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #fff;
}

body.dark-mode .welcome-content,
body.dark-mode .featured-story-content,
body.dark-mode p {
    color: #fff;
}

body.dark-mode .service-item p,
body.dark-mode .service-item ul li {
    color: #fff;
}

body.dark-mode .blog-title {
    color: #fff;
}

body.dark-mode .blog-excerpt {
    color: #fff;
}

body.dark-mode .blog-date {
    color: #fff;
}

body.dark-mode .footer-section h3 {
    color: var(--home-accent, #c4a574);
}

body.dark-mode .footer-section a {
    color: rgba(255, 255, 255, 0.78);
}

body.dark-mode .footer-section a:hover {
    color: var(--home-accent, #c4a574);
}

body.dark-mode .site-footer__tagline {
    color: var(--home-accent, #c4a574);
}

body.dark-mode .site-footer__lead {
    color: rgba(255, 255, 255, 0.78);
}

body.dark-mode footer,
body.dark-mode .site-footer {
    background:
        radial-gradient(900px 320px at 50% 0%, rgba(196, 165, 116, 0.1), transparent 70%),
        #0a0a0a;
    border-top-color: rgba(196, 165, 116, 0.22);
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .footer-credit a {
    color: #fff;
}

body.dark-mode .welcome-section[style*="background"] {
    background: #111111 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    border-color: #333;
    color: #fff;
    background: #111111;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #fff;
}

body.dark-mode .form-group label {
    color: #fff;
}

body.dark-mode .btn {
    border-color: #fff;
    color: #fff;
}

body.dark-mode .btn:hover {
    background: #fff;
    color: #fff;
}

body.dark-mode .btn-white {
    border-color: #fff;
    color: #fff;
}

body.dark-mode .btn-white:hover {
    background: #fff;
    color: #fff;
}

body.dark-mode .view-all {
    color: #fff;
    border-bottom-color: #fff;
}

body.dark-mode .view-all:hover {
    opacity: 0.7;
}

body.dark-mode .blog-header {
    border-bottom-color: #333;
}

body.dark-mode .social-link {
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
}

body.dark-mode .social-link:hover {
    border-color: var(--home-accent, #c4a574);
    color: var(--home-accent, #c4a574);
    background: rgba(196, 165, 116, 0.08);
}

body.dark-mode .image-with-text__heading {
    color: #fff;
}

body.dark-mode .image-with-text__content p {
    color: #fff;
}

body.dark-mode .contact-info p {
    color: #fff;
}

body.dark-mode .contact-info a {
    color: #fff;
}

body.dark-mode .contact-info a:hover {
    color: #fff;
}

body.dark-mode .contact-info svg {
    color: #fff;
}

body.dark-mode .contact-info li:hover svg {
    color: #fff;
}


/* Dark Mode - All Icons Visibility */
body.dark-mode .service-icon {
    color: #fff !important;
}

body.dark-mode .service-icon svg {
    stroke: #fff !important;
    color: #fff !important;
}

body.dark-mode .service-item:hover .service-icon {
    color: #fff !important;
}

body.dark-mode .service-item:hover .service-icon svg {
    stroke: #e5e5e5 !important;
}

body.dark-mode .feature-icon {
    color: #fff !important;
    opacity: 0.9;
}

body.dark-mode .feature-icon svg {
    stroke: #fff !important;
    color: #fff !important;
}

body.dark-mode .feature-icon:hover {
    opacity: 1;
    color: #fff !important;
}

body.dark-mode .feature-icon:hover svg {
    stroke: #fff !important;
}

body.dark-mode .social-link svg {
    color: inherit;
}

body.dark-mode .social-link:hover svg {
    color: inherit;
}

/* Ensure all SVG icons in dark mode are visible */
body.dark-mode svg {
    stroke: currentColor;
}

body.dark-mode svg[fill="currentColor"] {
    fill: currentColor;
}

/* Override inline styles for icons in dark mode */
body.dark-mode svg[style*="color: #000"] {
    color: #fff !important;
    stroke: #fff !important;
}

body.dark-mode svg[style*="color:#000"] {
    color: #fff !important;
    stroke: #fff !important;
}

/* Contact page icons */
body.dark-mode .contact-info svg,
body.dark-mode div[style*="display: flex"] svg {
    color: #fff !important;
    stroke: #b0b0b0 !important;
}

body.dark-mode .contact-info li:hover svg,
body.dark-mode div[style*="display: flex"]:hover svg {
    color: #fff !important;
    stroke: #fff !important;
}

/* Grid item background for dark mode */

body.dark-mode .modal {
    background-color: #0a0a0a;
}

body.dark-mode .modal-title,
body.dark-mode .modal-description {
    color: #fff;
}

body.dark-mode .close-btn,
body.dark-mode .nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

body.dark-mode .close-btn:hover,
body.dark-mode .nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========== Homepage restyle ========== */
:root {
    --home-ink: #0a0a0a;
    --home-panel: #111111;
    --home-mist: rgba(255, 255, 255, 0.08);
    --home-accent: #c4a574;
    --home-text-soft: rgba(255, 255, 255, 0.78);
}

.home-page {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(196, 165, 116, 0.08), transparent 55%),
        radial-gradient(900px 500px at 100% 20%, rgba(255, 255, 255, 0.03), transparent 50%),
        var(--home-ink);
}

.home-page .hero {
    isolation: isolate;
}

.home-page .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.15) 40%, rgba(10, 10, 10, 0.55) 100%);
    animation: homeVeilIn 1.4s ease both;
}

@keyframes homeVeilIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-page .hero-content {
    max-width: 920px;
    animation: homeHeroRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

@keyframes homeHeroRise {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 28px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.home-page .hero-brand {
    font-size: clamp(28px, 6vw, 72px);
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 28px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    line-height: 1.15;
}

.home-page .hero-subtitle {
    max-width: 640px;
    font-size: clamp(15px, 2vw, 19px);
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.92);
}

.home-page .hero-cta .btn-white {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.home-page .hero-cta .btn-white:hover {
    transform: translateY(-3px);
}

.home-page .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
}

.home-page .carousel-dot.active {
    background: var(--home-accent);
    border-color: var(--home-accent);
    width: 28px;
}

.home-eyebrow {
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--home-accent);
    margin: 0 0 18px;
}

.home-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
}

.home-section-head .section-title {
    margin-bottom: 20px;
}

.home-section-lead {
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: var(--home-text-soft);
    font-weight: 300;
    margin: 0;
}

.home-text-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    border-bottom: 1px solid var(--home-accent);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.home-text-link:hover {
    color: var(--home-accent);
}

.home-about {
    position: relative;
    padding: 140px 40px;
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(10, 10, 10, 0.98));
}

.home-about__inner {
    max-width: 920px;
    margin: 0 auto;
}

.home-about__header .welcome-title {
    margin-bottom: 48px;
    letter-spacing: 0.18em;
}

.home-about__logo {
    margin-bottom: 48px;
}

.home-about__logo .logo-image {
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
}

.home-about__copy p {
    color: var(--home-text-soft);
}

.home-about__copy strong {
    color: #fff;
    font-weight: 500;
}

.home-quote {
    position: relative;
    padding: 120px 40px;
    background:
        linear-gradient(120deg, rgba(196, 165, 116, 0.12), transparent 45%),
        #0d0d0d;
    overflow: hidden;
}

.home-quote__mark {
    position: absolute;
    top: 24px;
    left: 8%;
    font-size: clamp(120px, 22vw, 240px);
    line-height: 0.8;
    color: rgba(196, 165, 116, 0.18);
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
    user-select: none;
}

.home-quote__text {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.home-quote__text p {
    font-size: clamp(22px, 3.4vw, 36px);
    line-height: 1.55;
    letter-spacing: 0.04em;
    font-weight: 300;
    color: #fff;
}

.home-quote__text em {
    font-style: italic;
    color: var(--home-accent);
    font-weight: 400;
}

.home-services {
    padding: 120px 0 140px;
    background:
        radial-gradient(900px 420px at 80% 10%, rgba(196, 165, 116, 0.06), transparent 55%),
        #0a0a0a;
}

.home-services .home-section-head {
    padding: 0 40px;
    margin-bottom: 80px;
}

.home-services__list {
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-service {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    min-height: min(72vh, 620px);
    padding: 0;
    border: 0;
    align-items: stretch;
    background: transparent;
    overflow: hidden;
}

.home-service:last-child,
.home-service:hover {
    border: 0;
    background: transparent;
}

.home-service--media-right {
    grid-template-columns: 0.95fr 1.05fr;
}

.home-service--media-right .home-service__media {
    order: 2;
}

.home-service--media-right .home-service__body {
    order: 1;
}

.home-service__media {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: #111;
}

.home-service__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.2), transparent 40%);
    pointer-events: none;
}

.home-service--media-right .home-service__media::after {
    background: linear-gradient(270deg, rgba(10, 10, 10, 0.2), transparent 40%);
}

.home-service__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-service:hover .home-service__media img {
    transform: scale(1.1);
}

.home-service__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px);
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.92), rgba(10, 10, 10, 0.98));
}

.home-service__index {
    font-size: 12px;
    letter-spacing: 0.36em;
    color: var(--home-accent);
    margin: 0 0 22px;
    padding: 0;
}

.home-service__title {
    display: block;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: #fff;
    line-height: 1.15;
}

.home-service__body p:not(.home-service__index) {
    font-size: 15px;
    line-height: 1.95;
    letter-spacing: 0.03em;
    color: var(--home-text-soft);
    margin: 0 0 32px;
    max-width: 38ch;
}

.home-service__body .home-text-link {
    align-self: flex-start;
}

.home-service__body .btn {
    margin: 0;
}

.home-why {
    padding: 120px 40px;
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(196, 165, 116, 0.07), transparent 60%),
        var(--home-panel);
}

.home-why__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
}

.home-why__item h3,
.home-why__item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #fff;
}

.home-why__item p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--home-text-soft);
    margin: 0;
}

.home-why__item .feature-icon {
    display: inline-flex;
    color: var(--home-accent);
}

.home-why__closing {
    max-width: 720px;
    margin: 72px auto 0;
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    font-style: italic;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.home-work {
    padding: 120px 40px 100px;
}

.home-work__grid {
    margin-top: 0;
}

.home-work__cta {
    text-align: center;
    margin-top: 56px;
}

.home-latest {
    padding: 100px 40px 120px;
    background: linear-gradient(180deg, #0a0a0a, #101010);
}

.home-testimonials {
    position: relative;
    padding: 110px 40px 120px;
    background: #0a0a0a;
    color: #fff;
    overflow: hidden;
}

.home-testimonials .home-section-head {
    margin-bottom: 56px;
}

.home-testimonials .home-section-lead {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.55);
}

.home-testimonials__carousel {
    max-width: 1080px;
    margin: 0 auto;
}

.home-testimonials__viewport {
    overflow: hidden;
}

.home-testimonials__track {
    display: flex;
    gap: 28px;
    transition: transform 0.55s ease;
    will-change: transform;
}

.home-testimonial-card {
    position: relative;
    flex: 0 0 calc((100% - 56px) / 3);
    background: #fff;
    color: #111;
    text-align: center;
    padding: 42px 28px 36px;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.home-testimonial-card::before,
.home-testimonial-card::after {
    content: '';
    position: absolute;
    left: 100%;
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.home-testimonial-card::before {
    top: 0;
}

.home-testimonial-card::after {
    bottom: 0;
}

.home-testimonial-card:last-child::before,
.home-testimonial-card:last-child::after {
    display: none;
}

.home-testimonial-card__dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8c8c8;
    z-index: 2;
}

.home-testimonial-card__dot--tl { top: -3px; left: -3px; }
.home-testimonial-card__dot--tr { top: -3px; right: -3px; }
.home-testimonial-card__dot--bl { bottom: -3px; left: -3px; }
.home-testimonial-card__dot--br { bottom: -3px; right: -3px; }

.home-testimonial-card__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1);
    margin-bottom: 22px;
    display: block;
}

.home-testimonial-card__name {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #111;
    text-transform: none;
}

.home-testimonial-card__role {
    margin: 0 0 18px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: none;
    color: #a13d3d;
}

.home-testimonial-card__quote {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #595959;
}

body.dark-mode .home-testimonial-card__name,
body.dark-mode .home-testimonial-card h3 {
    color: #111;
}

body.dark-mode .home-testimonial-card__role {
    color: #a13d3d;
}

body.dark-mode .home-testimonial-card__quote,
body.dark-mode .home-testimonial-card p {
    color: #595959;
}

.home-testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
}

.home-testimonials__nav-btn {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #1b1b1b;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.home-testimonials__nav-btn:hover {
    background: #2a2a2a;
}

.home-testimonials__nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.home-testimonials__nav-btn[data-dir="-1"]::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.home-testimonials__nav-btn[data-dir="1"]::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

@media (max-width: 980px) {
    .home-testimonial-card {
        flex-basis: calc((100% - 28px) / 2);
        min-height: 360px;
    }
}

@media (max-width: 700px) {
    .home-testimonial-card {
        flex-basis: 100%;
        min-height: 0;
        padding: 36px 24px 32px;
    }

    .home-testimonial-card::before,
    .home-testimonial-card::after {
        display: none;
    }
}

.home-latest__header {
    align-items: flex-end;
    margin-bottom: 48px;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.home-latest__title {
    margin: 0 !important;
    text-align: left !important;
    font-size: clamp(22px, 3vw, 34px) !important;
    letter-spacing: 0.16em;
}

.home-page .blog-card {
    background: transparent;
}

.home-page .blog-image {
    border-radius: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(0.92);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.home-page .blog-card:hover .blog-image {
    transform: scale(1.04);
    filter: saturate(1.05);
}

@media (max-width: 900px) {
    .home-why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 28px;
    }

    .home-service,
    .home-service--media-right {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-service--media-right .home-service__media,
    .home-service--media-right .home-service__body {
        order: unset;
    }

    .home-service__media {
        min-height: 0;
        aspect-ratio: auto;
        height: auto;
    }

    .home-service__media img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center top;
        transform: none;
    }

    .home-service:hover .home-service__media img {
        transform: none;
    }

    .home-service__media::after {
        background: linear-gradient(180deg, transparent 70%, rgba(10, 10, 10, 0.2));
    }
}

@media (max-width: 768px) {
    .home-about,
    .home-why,
    .home-work,
    .home-latest,
    .home-quote,
    .home-testimonials {
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-testimonials__nav {
        margin-top: 32px;
    }

    .home-services .home-section-head {
        padding: 0 24px;
        margin-bottom: 48px;
    }

    .home-service__body {
        padding: 36px 24px 56px;
    }

    .home-page .hero-brand {
        letter-spacing: 0.16em;
    }

    .home-why__grid {
        grid-template-columns: 1fr;
    }

    .home-latest__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.home-clients {
    padding: 120px 0 130px;
    background: #ffffff;
    color: #111;
    overflow: hidden;
}

.home-clients .home-section-head {
    margin-bottom: 56px;
    padding: 0 40px;
}

.home-clients .home-eyebrow {
    color: #8a7348;
}

.home-clients .section-title,
body.dark-mode .home-clients .section-title,
body.dark-mode .home-clients h2 {
    color: #111;
}

.home-clients__marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-clients__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.home-clients__group {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex: 0 0 auto;
}

.home-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 220px;
    height: 140px;
    padding: 18px 28px;
    background: #ffffff;
    box-sizing: border-box;
    white-space: normal;
}

.home-clients__item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media (max-width: 700px) {
    .home-clients {
        padding: 80px 0 100px;
    }

    .home-clients .home-section-head {
        padding: 0 24px;
        margin-bottom: 36px;
    }

    .home-clients__item {
        width: 170px;
        height: 110px;
        padding: 12px 18px;
    }

    .home-clients__item img {
        height: 72px;
    }
}

/* ========== Site-wide mobile + performance ========== */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.carousel-slide img,
.page-hero img {
    max-width: none;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 10050;
    background: #fff;
    color: #111;
    padding: 10px 14px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.skip-link:focus {
    top: 12px;
}

body.menu-open {
    overflow: hidden;
}

.footer-section a,
.footer-contact a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 768px) {
    .hero-content,
    .home-page .hero-content {
        top: auto;
        bottom: 96px;
        transform: translate(-50%, 0);
        padding: 0 20px;
        animation: none;
        width: calc(100% - 8px);
    }

    .home-page .hero-brand {
        font-size: clamp(20px, 7vw, 32px);
        letter-spacing: 0.08em;
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .hero-subtitle,
    .home-page .hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.04em;
        line-height: 1.55;
        margin: 0 auto 20px;
        max-width: 36em;
    }

    .hero-cta {
        margin-top: 12px;
    }

    .hero-cta .btn,
    .home-page .hero-cta .btn-white {
        padding: 14px 22px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .carousel-nav {
        bottom: 16px;
    }

    .page-hero {
        height: 42vh;
        min-height: 240px;
        max-height: 380px;
    }

    .page-hero .section-title {
        font-size: clamp(22px, 7vw, 34px) !important;
        letter-spacing: 2px;
        padding: 0 16px;
        margin-bottom: 0 !important;
    }

    .home-about,
    .home-why,
    .home-work,
    .home-latest,
    .home-testimonials,
    .home-quote {
        padding-top: 72px;
        padding-bottom: 80px;
    }

    .home-services {
        padding: 72px 0 80px;
    }

    .home-section-head {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(22px, 6vw, 32px);
        letter-spacing: 2px;
        margin-bottom: 36px;
    }

    .image-with-text {
        margin: 64px 0;
    }

    .contact-section {
        padding: 64px 20px 80px;
    }

    .contact-section > div[style*="grid"] {
        gap: 48px !important;
    }

    .contact-section img[style*="height: 400px"] {
        height: 220px !important;
    }

    .btn {
        padding: 14px 28px;
        min-height: 44px;
    }

    .modal-content {
        width: 100%;
        max-height: 100%;
        padding: 72px 16px 24px;
    }

    .modal-image {
        max-height: 70vh;
    }

    .modal-info {
        padding: 20px 12px 8px;
    }

    .close-btn {
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
    }

    footer,
    .site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .content-section > div[style*="margin-top: 160px"] {
        margin-top: 72px !important;
    }

    .welcome-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 32px;
    }

    .menu-item > a,
    .nav-link,
    .submenu a {
        font-size: 15px;
        padding: 10px 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .home-page .hero-brand {
        font-size: 22px;
        letter-spacing: 0.06em;
    }

    .grid {
        gap: 2px;
    }

    .home-testimonial-card {
        padding: 32px 20px 28px;
    }
}

@media (hover: none) {
    .grid-item:hover,
    .grid-item:hover img,
    .btn:hover,
    .home-service:hover .home-service__media img,
    .home-page .blog-card:hover .blog-image {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .page-transition,
    .home-clients__track,
    .carousel-slide,
    .home-testimonials__track {
        animation: none !important;
        transition: none !important;
    }
}

