/*
 * single-facade.css — Facade Details (Figma 4886:33421)
 * Loaded on is_singular('facade').
 */

/* ── Header (Figma 4886:33422) — white bar, dark nav, static ─────────────── */

body.single-facade .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background-color: #fff;
    color: #1c1c1c;
    transform: none;
}

body.single-facade .site-header.is-sticky,
body.single-facade .site-header.is-hidden {
    position: relative;
    background-color: #fff;
    transform: none;
}

body.single-facade .site-header__logo-img--default {
    display: none;
}

body.single-facade .site-header__logo-img--dark {
    display: block;
}

body.single-facade .site-header__logo-link:not(:has(.site-header__logo-img--dark)) .site-header__logo-img--default {
    display: block;
}

body.single-facade .site-header__logo-text {
    color: #1c1c1c;
}

body.single-facade .site-header__nav-list a,
body.single-facade #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
body.single-facade #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link .mega-indicator {
    color: #1c1c1c;
}

body.single-facade .site-header__nav-toggle-bar {
    background-color: #1c1c1c;
}

body.single-facade .site-header__cta .btn,
body.single-facade .site-header.is-sticky .site-header__cta .btn {
    background-color: #1c1c1c;
    border-color: #1c1c1c;
    color: #fff;
}

body.single-facade .site-header__cta .btn:hover {
    background-color: transparent;
    border-color: #1c1c1c;
    color: #1c1c1c;
}

.fd-back,
.fd-intro,
.fd-gallery,
.fd-renders {
    width: 100%;
    background: #fff;
    color: #1c1c1c;
}

.fd-back__inner,
.fd-intro__inner,
.fd-gallery__inner,
.fd-renders__inner {
    width: 100%;
    max-width: var(--max-width, 1440px);
    margin-inline: auto;
    padding-inline: var(--gutter, 60px);
    box-sizing: border-box;
}

/* ── Back link ───────────────────────────────────────────────────────────── */

.fd-back {
    padding-block: 30px;
}

.fd-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #1c1c1c;
    text-decoration: none;
    text-transform: capitalize;
}

.fd-back__link:hover {
    opacity: 0.7;
}

.fd-back__icon {
    flex-shrink: 0;
}

/* ── Shared pill button ──────────────────────────────────────────────────── */

.fd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 25px;
    border-radius: 1000px;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-transform: capitalize;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.fd-btn--dark {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

.fd-btn--dark:hover {
    background: #333;
    color: #fff;
}

.fd-btn--sand {
    background: #e6dfd7;
    color: #1c1c1c;
    border-color: #e6dfd7;
}

.fd-btn--sand:hover {
    opacity: 0.9;
    color: #1c1c1c;
}

/* ── Intro ───────────────────────────────────────────────────────────────── */

.fd-intro {
    padding-bottom: 80px;
}

.fd-intro__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.fd-intro__title-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.fd-intro__content-col {
    flex: 0 1 768px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.fd-intro__label {
    margin: 0;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #1c1c1c;
}

.fd-intro__title {
    margin: 0;
    font-family: var(--font-heading, 'freight-neo-pro', Georgia, serif);
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    color: #1c1c1c;
}

.fd-intro__body {
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
}

.fd-intro__body p {
    margin: 0 0 1em;
}

.fd-intro__body p:last-child {
    margin-bottom: 0;
}

.fd-intro__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Gallery ─────────────────────────────────────────────────────────────── */

.fd-gallery {
    padding-bottom: 80px;
}

.fd-gallery__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.fd-gallery__hero {
    width: 100%;
    margin: 0;
    aspect-ratio: 1320 / 660;
    overflow: hidden;
}

.fd-gallery__hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fd-gallery__caption {
    margin: 0;
    max-width: 922px;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    text-align: center;
    color: #1c1c1c;

}
@media(min-width: 768px){
    .fd-gallery__caption {
        margin: 40px 0px;
    }
}
.fd-gallery__pair {
    display: flex;
    gap: 20px;
    width: 100%;
}

.fd-gallery__pair-item {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    min-width: 0;
    margin: 0;
    aspect-ratio: 650 / 520;
    overflow: hidden;
}

.fd-gallery__pair-item:only-child {
    flex: 0 0 100%;
    width: 100%;
}

.fd-gallery__pair-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fd-gallery__video {
    width: 100%;
    margin: 0;
}

.fd-gallery__embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1c1c1c;
    cursor: pointer;
}

.fd-gallery__video-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.fd-gallery__embed-wrap.is-playing .fd-gallery__video-img {
    opacity: 0;
    pointer-events: none;
}

.fd-gallery__embed-wrap iframe,
.fd-gallery__embed-wrap .fd-gallery__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    object-fit: cover;
}

.fd-gallery__embed-wrap.is-playing iframe,
.fd-gallery__embed-wrap.is-playing .fd-gallery__player {
    display: block;
}

.fd-gallery__video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
}

.fd-gallery__embed-wrap.is-playing .fd-gallery__video-btn {
    opacity: 0;
    pointer-events: none;
}

/* ── Internal renders ────────────────────────────────────────────────────── */

.fd-renders {
    --fd-renders-duration: 0.45s;
    --fd-renders-ease: cubic-bezier(0.4, 0, 0.2, 1);
    padding-block: 80px 60px;
    border-top: 1px solid rgba(28, 28, 28, 0.12);
}

.fd-renders__stage {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 20px;
}

.fd-renders__figure {
    flex: 0 0 715px;
    max-width: 55%;
    margin: 0;
    aspect-ratio: 715 / 536;
    overflow: hidden;
}

.fd-renders__figure-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.fd-renders__main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition:
        opacity var(--fd-renders-duration, 0.45s) var(--fd-renders-ease, cubic-bezier(0.4, 0, 0.2, 1)),
        transform var(--fd-renders-duration, 0.45s) var(--fd-renders-ease, cubic-bezier(0.4, 0, 0.2, 1)),
        visibility var(--fd-renders-duration, 0.45s) var(--fd-renders-ease, cubic-bezier(0.4, 0, 0.2, 1));
    z-index: 0;
}

.fd-renders__main-img.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

.fd-renders__main-img.is-leaving {
    opacity: 0;
    visibility: hidden;
    z-index: 2;
}

.fd-renders__main-img.is-entering {
    opacity: 0;
    visibility: visible;
    z-index: 1;
}

.fd-renders--dir-next .fd-renders__main-img.is-entering {
    transform: translateX(24px);
}

.fd-renders--dir-next .fd-renders__main-img.is-leaving {
    transform: translateX(-24px);
}

.fd-renders--dir-prev .fd-renders__main-img.is-entering {
    transform: translateX(-24px);
}

.fd-renders--dir-prev .fd-renders__main-img.is-leaving {
    transform: translateX(24px);
}

@media (prefers-reduced-motion: reduce) {
    .fd-renders__main-img {
        transition-duration: 0.2s;
        transform: none;
    }

    .fd-renders__main-img.is-entering,
    .fd-renders--dir-next .fd-renders__main-img.is-entering,
    .fd-renders--dir-prev .fd-renders__main-img.is-entering,
    .fd-renders--dir-next .fd-renders__main-img.is-leaving,
    .fd-renders--dir-prev .fd-renders__main-img.is-leaving {
        transform: none;
    }
}

.fd-renders__meta {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-end;
}

.fd-renders__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fd-renders__label {
    margin: 0;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #1c1c1c;
}

.fd-renders__title {
    margin: 0;
    font-family: var(--font-heading, 'freight-neo-pro', Georgia, serif);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    color: #1c1c1c;
}

.fd-renders__desc {
    margin: 0;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
}

.fd-renders__pager {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.fd-renders__count {
    flex: 1 1 auto;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #1c1c1c;
}

.fd-renders__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 38px;
    padding: 10px 16px;
    border: 1px solid #1c1c1c;
    border-radius: 1000px;
    background: transparent;
    color: #1c1c1c;
    cursor: pointer;
    transition: opacity 0.2s;
}

.fd-renders__nav--prev svg {
    transform: scaleX(-1);
}

.fd-renders__nav:hover:not(:disabled) {
    opacity: 0.7;
}

.fd-renders__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.fd-renders__thumbs {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.fd-renders__thumb {
    flex: 1 0 0;
    min-width: 120px;
    max-width: 715px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    opacity: 0.5;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.fd-renders__thumb.is-active {
    opacity: 1;
}

.fd-renders__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

/* ── Tablet ──────────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .fd-intro__inner {
        flex-direction: column;
    }

    .fd-intro__content-col {
        flex: none;
        width: 100%;
    }

    .fd-renders__stage {
        flex-direction: column;
        align-items: stretch;
    }

    .fd-renders__figure {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .fd-renders__meta {
        align-items: flex-start;
    }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .fd-back {
        padding-block: 20px;
    }

    .fd-back__inner,
    .fd-intro__inner,
    .fd-gallery__inner,
    .fd-renders__inner {
        padding-inline: 16px;
    }

    .fd-intro {
        padding-bottom: 60px;
    }

    .fd-intro__title {
        font-size: 32px;
    }

    .fd-intro__ctas {
        flex-direction: column;
        width: 100%;
    }

    .fd-intro__ctas .fd-btn {
        width: 100%;
        justify-content: center;
    }

    .fd-gallery__inner {
        gap: 40px;
    }

    .fd-gallery__pair {
        flex-direction: column;
    }

    .fd-gallery__pair-item {
        flex: 0 0 auto;
        width: 100%;
        min-height: auto;
    }

    .fd-renders {
        padding-block: 60px 40px;
    }

    .fd-renders__title {
        font-size: 32px;
    }

    .fd-renders__thumb {
        flex: 0 0 45%;
        min-width: 140px;
    }
}
