*,
*::before,
*::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

#journey {
    display: none;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    color: #1A110D;
    overflow-x: hidden
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: #fff
}

::-webkit-scrollbar-thumb {
    background: #CC9C8D;
    border-radius: 3px
}

/* Hide scrollbar for testimonial row */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

::selection {
    background: #6A3B33;
    color: #fff
}

/* Nav */
.nav-link {
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #6A3B33;
    transition: width .3s ease
}

.nav-link:hover::after {
    width: 100%
}

/* Hero video overlay */
.hero-video-wrap {
    position: relative;
    min-height: 100vh;
    overflow: hidden
}

.hero-video-wrap video,
.hero-video-wrap .hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 17, 13, 0.35) 0%, rgba(26, 17, 13, 0.75) 100%)
}

/* Horizontal scroll */
.hz-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scroll-padding: 0 48px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
}

/* Disable snap on large screens for smooth dragging */
@media (min-width: 1024px) {
    .hz-scroll {
        scroll-snap-type: none;
    }

    .hz-card {
        scroll-snap-align: none;
    }
}

.hz-scroll::-webkit-scrollbar {
    display: none
}

.hz-card {
    scroll-snap-align: start;
    flex-shrink: 0
}

/* Accordion */
.svc-item {
    border-bottom: 1px solid rgba(106, 59, 51, .07)
}

.svc-item:first-child {
    border-top: 1px solid rgba(106, 59, 51, .07)
}

/* Add more spacing between service items on large screens */
@media (min-width: 1024px) {
    .svc-header {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .svc-header h3 {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }

    .svc-header .text-\[12px\] {
        font-size: 16px;
    }

    .svc-content {
        padding-bottom: 0.5rem;
    }

    .svc-content .text-\[13px\] {
        font-size: 17px;
    }

    .svc-content .text-\[10px\] {
        font-size: 12px;
    }
}

.svc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.25, 0, .25, 1), opacity 0.3s ease;
    opacity: 0
}

.svc-item.open .svc-content {
    max-height: 420px;
    opacity: 1
}

/* Service images transition */
.service-img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

/* Scale down by default on large screens */
@media (min-width: 1024px) {
    .service-img {
        transform: scale(0.97);
    }

    /* When any image has scale-up, fade out others */
    #serviceImages:has(.scale-up) .service-img:not(.scale-up) {
        opacity: 0.35;
    }

    .service-img.scale-up {
        transform: scale(1);
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        opacity: 1;
    }
}

/* No scaling on mobile */
@media (max-width: 1023px) {
    .service-img {
        transform: scale(1);
    }
}

/* Service image transitions */
.service-grid-container {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.service-single-img {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.service-img img {
    transition: transform 0.3s ease-out;
}

.svc-item.open .svc-chev {
    transform: rotate(180deg)
}

.svc-chev {
    transition: transform .3s ease
}

.svc-header:hover h3 {
    color: #6A3B33
}

.svc-header h3 {
    transition: color .2s ease
}

/* Expert tabs */
.exp-btn {
    position: relative;
    transition: color .25s ease
}

.exp-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6A3B33;
    transition: width .3s ease
}

.exp-btn.active::after {
    width: 100%
}

.exp-btn.active {
    color: #6A3B33
}

.exp-panel {
    display: none
}

.exp-panel.active {
    display: block
}

/* Journey steps */
.step-line {
    position: relative
}

.step-line::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 38px;
    bottom: -24px;
    width: 1px;
    background: rgba(204, 156, 141, .18)
}

.step-line:last-child::before {
    display: none
}

/* Reel carousel */
.reel-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: reelScroll 50s linear infinite
}

@keyframes reelScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.reel-card {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 9/16;
    border-radius: 10px;
    overflow: hidden;
    background: #F0DDD6
}

/* Video pulse */
.vid-pulse {
    animation: pulse 3s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: .2
    }

    50% {
        opacity: .45
    }
}

/* Stagger */
.stagger-grid>:nth-child(2) {
    margin-top: 60px
}

@media(max-width:1023px) {
    .stagger-grid>:nth-child(2) {
        margin-top: 0
    }
}

/* Star rating */
.star {
    color: #CC9C8D
}

/* Reveal */
.rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease
}

.rv.vis {
    opacity: 1;
    transform: translateY(0)
}

.rv-d1 {
    transition-delay: .1s
}

.rv-d2 {
    transition-delay: .2s
}

.rv-d3 {
    transition-delay: .3s
}

/* Photo placeholder — consistent style */
.ph {
    background: #F0DDD6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    position: relative
}

.ph-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(106, 59, 51, 0.25);
    text-align: center;
    padding: 0 12px
}

.ph-icon {
    color: rgba(106, 59, 51, 0.15)
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6A3B33
}

/* ── Marquee strip ─────────────────────────── */
.marquee-strip {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6A3B33;
    white-space: nowrap;
    padding: 0 2rem;
}

.marquee-dot {
    color: rgba(106, 59, 51, 0.25);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

/* Add-ons styles */
.addon-cta {
    color: #6A3B33;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.addon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(106, 59, 51, 0.10), 0 2px 8px rgba(106, 59, 51, 0.06);
}

.addon-card:hover .addon-cta {
    opacity: 1;
}

/* Team Marquee */
.team-marquee-wrap {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.team-marquee-track {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
    animation: teamMarqueeScroll 40s linear infinite;
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: hover) {
    .team-marquee-track:hover {
        animation-play-state: paused;
    }
}

@keyframes teamMarqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.team-card {
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .team-card {
        width: 290px;
        padding: 0 7px;
    }
}

.bg-rose-wash {
    background-color: #F0DDD6;
}

@media (min-width: 1024px) {
    .grid-border-wrap {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
    }

    .grid-border-wrap>div {
        max-width: 1400px;
        margin: 0 auto;
        padding-left: 3rem;
        /* Matches lg:px-12 (48px) */
        padding-right: 3rem;
    }
}