/* Shared fullscreen navigation: each link enters separately, like the prototype. */
.lsb-fullscreen-menu .lsb-menu-link {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .55s ease, transform .75s cubic-bezier(.22,1,.36,1), border-color .5s ease;
    transition-delay: 0s;
}
.lsb-fullscreen-menu.is-open .lsb-menu-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.18s + var(--lsb-menu-order, 0) * .08s);
}

/* Newly added archive CTA. Keep the native Elementor text and button. */
.elementor-805 .elementor-element-33046da {
    box-sizing: border-box;
    padding: 80px max(96px, calc((100vw - 1280px) / 2)) !important;
    min-height: 0 !important;
    background: #222 !important;
    overflow: hidden;
}
.elementor-805 .elementor-element-33046da > .e-con-inner {
    width: 100% !important;
    max-width: 1280px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 64px !important;
}
.elementor-805 .elementor-element-33046da .elementor-element-b73cace {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 800px !important;
    padding: 0 !important;
    gap: 0 !important;
}
.elementor-805 .elementor-element-33046da .elementor-element-1ce760c {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
}
.elementor-805 .elementor-element-33046da .section-eyebrow { margin: 0 0 24px !important; gap: 12px !important; }
.elementor-805 .elementor-element-33046da .section-eyebrow .elementor-divider { padding: 0 !important; }
.elementor-805 .elementor-element-33046da .section-eyebrow .elementor-heading-title {
    color: rgba(255,255,255,.6) !important;
    font: 700 11.2px/1.5 "Saira", sans-serif !important;
    letter-spacing: .2em !important;
}
.elementor-805 .elementor-element-33046da .inner-hero-title { margin: 0 !important; }
.elementor-805 .elementor-element-33046da .inner-hero-title .elementor-heading-title {
    color: #fff !important;
    font-size: clamp(26.667px, 13.73px + 2.565vw, 50.667px) !important;
    line-height: .895 !important;
    letter-spacing: .01em !important;
}
.elementor-805 .elementor-element-33046da .inner-hero-title span { display: block; }
.elementor-805 .elementor-element-33046da .elementor-button {
    padding: 16px 40px !important;
    font: 700 16px/24px "Saira", sans-serif !important;
    letter-spacing: .08em !important;
    background: #ffef5c !important;
    color: #222 !important;
    white-space: nowrap;
}
.elementor-805 .elementor-element-33046da .elementor-button-content-wrapper { gap: 12px !important; flex-direction: row-reverse; }
.elementor-805 .elementor-element-33046da .elementor-button-icon { margin: 0 !important; }

/* Project hero: bottom-aligned caption and compact metadata. */
.single-post .inner-hero > .e-con-inner {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    height: 100% !important;
    padding: 124px max(96px, calc((100vw - 1280px) / 2)) 80px !important;
}
.single-post .inner-hero .inner-hero-content {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    gap: 0 !important;
    padding: 0 !important;
}
.single-post .inner-hero .section-eyebrow { margin: 0 0 20px !important; gap: 12px !important; }
.single-post .inner-hero .section-eyebrow .elementor-divider { padding: 0 !important; }
.single-post .inner-hero .section-eyebrow .elementor-heading-title,
.single-post .inner-hero .section-eyebrow a {
    color: rgba(255,239,92,.7) !important;
    font: 700 11.2px/1.5 "Saira", sans-serif !important;
    letter-spacing: .2em !important;
    text-decoration: none !important;
}
.single-post .inner-hero .inner-hero-title { margin: 0 0 28px !important; }
.single-post .inner-hero .elementor-icon-list-items {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 12px 24px !important;
    margin: 0 !important;
}
.single-post .inner-hero .elementor-icon-list-item { margin: 0 !important; gap: 8px !important; }
.single-post .inner-hero .elementor-icon-list-text {
    padding: 0 !important;
    font: 500 13.6px/1.5 "Be Vietnam Pro", sans-serif !important;
    color: rgba(255,255,255,.6) !important;
}
.single-post .inner-hero .elementor-icon-list-icon svg { width: 16px !important; height: 16px !important; }

/* Overview uses the prototype's 1:2 columns with a 96px gap. */
.single-post .project-overview > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,2fr) !important;
    gap: 96px !important;
    align-items: start !important;
}
.single-post .project-overview > .e-con-inner > .e-con {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}
.single-post .project-overview .section-eyebrow {
    margin: 0 0 32px !important;
    gap: 12px !important;
}
.single-post :is(.project-overview,.project-gallery,.projects-section) .section-eyebrow .elementor-heading-title {
    font: 700 11.2px/1.5 "Saira", sans-serif !important;
    letter-spacing: .2em !important;
}
.single-post :is(.project-overview,.project-gallery,.projects-section) .section-eyebrow .elementor-divider { padding: 0 !important; }
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:not(.section-eyebrow) {
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
}
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:has(+ .elementor-widget-button) { margin-bottom: 48px !important; }
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:not(.section-eyebrow) .elementor-widget-heading { margin: 0 !important; }
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:not(.section-eyebrow) .elementor-heading-title { margin: 0 !important; }
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:not(.section-eyebrow) > .elementor-widget-heading:first-child .elementor-heading-title {
    color: #848990 !important;
    font: 700 10.4px/1.5 "Saira", sans-serif !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
}
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:not(.section-eyebrow) > .elementor-widget-heading:last-child .elementor-heading-title,
.single-post .project-overview > .e-con-inner > .e-con:first-child > .e-con:not(.section-eyebrow) a {
    color: #222 !important;
    font: 600 15.2px/1.5 "Be Vietnam Pro", sans-serif !important;
    text-decoration: none !important;
}
.single-post .project-overview .elementor-widget-button { margin: 0 !important; }
.single-post .project-overview .elementor-button {
    border: 2px solid #222 !important;
    background: transparent !important;
    color: #222 !important;
    padding: 16px 28px !important;
    font: 700 13.6px/1.5 "Saira", sans-serif !important;
    letter-spacing: .08em !important;
}
.single-post .project-overview > .e-con-inner > .e-con:last-child > .elementor-widget-heading { margin: 0 0 32px !important; }
.single-post .project-overview h2.elementor-heading-title { line-height: .895 !important; }
.single-post .project-overview .elementor-widget-theme-post-content p {
    font: 500 16.8px/1.9 "Be Vietnam Pro", sans-serif !important;
    margin: 0 0 24px !important;
    color: #5a5a5a !important;
}
.single-post .project-overview .elementor-widget-theme-post-content p:last-child { margin-bottom: 0 !important; }

/* Compact 16:9 gallery; every original photo remains available by swipe/arrows. */
.single-post .project-gallery .elementor-gallery__container.lsb-gallery-source { display: none !important; }
.single-post .project-gallery > .e-con-inner { gap: 0 !important; }
.single-post .project-gallery .section-eyebrow { margin: 0 0 40px !important; }
.single-post .project-gallery .elementor-widget-gallery { width: 100% !important; margin: 0 !important; padding: 0 !important; }
.lsb-project-gallery { position: relative; width: 100%; overflow: hidden; background: #222; }
.lsb-gallery-track {
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.lsb-gallery-track::-webkit-scrollbar { display: none; }
.lsb-gallery-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; margin: 0 !important; scroll-snap-align: start; }
.lsb-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lsb-project-gallery .lsb-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 0;
    background: rgba(34,34,34,.75);
    color: #fff;
    font: 400 32px/1 sans-serif;
    cursor: pointer;
}
.lsb-gallery-prev { left: 16px; }
.lsb-gallery-next { right: 16px; }
.lsb-gallery-counter { position: absolute; right: 16px; bottom: 16px; padding: 5px 10px; background: rgba(34,34,34,.8); color: #fff; font: 700 12px/1.5 "Saira", sans-serif; }
.lsb-gallery-track:focus-visible, .lsb-gallery-arrow:focus-visible { outline: 2px solid #ffef5c; outline-offset: -3px; }

/* Related projects retain the real CMS query; restore its archive action. */
.single-post .projects-header { align-items: flex-end !important; margin-bottom: 56px !important; }
.single-post .projects-header .section-eyebrow { margin-bottom: 24px !important; }
.single-post .projects-header .section-title { margin: 0 !important; }
.lsb-view-all-projects {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ffef5c;
    color: #222 !important;
    font: 700 14.4px/1.5 "Saira", sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none !important;
    white-space: nowrap;
}
.lsb-view-all-projects:hover { background: #222; color: #fff !important; }
@media (hover: hover) and (pointer: fine) { .lsb-gallery-slide:hover img { transform: scale(1.045); } }
@media (min-width: 768px) and (max-width: 1023px) {
    .elementor-805 .elementor-element-33046da { padding: 80px 48px !important; }
    .single-post .inner-hero > .e-con-inner { padding-inline: 48px !important; padding-bottom: 56px !important; }
}
@media (max-width: 1023px) {
    .single-post .project-overview > .e-con-inner { grid-template-columns: minmax(0,1fr) !important; gap: 48px !important; }
}
@media (max-width: 767px) {
    .elementor-805 .elementor-element-33046da { padding: 64px 24px !important; }
    .elementor-805 .elementor-element-33046da > .e-con-inner { flex-direction: column !important; align-items: flex-start !important; gap: 32px !important; }
    .elementor-805 .elementor-element-33046da .inner-hero-title .elementor-heading-title { line-height: .95 !important; }
    .single-post .inner-hero > .e-con-inner { padding: 104px 24px 56px !important; }
    .single-post :is(.project-overview,.project-gallery,.projects-section) { padding: 56px 24px !important; }
    .single-post .project-overview h2.elementor-heading-title { line-height: .95 !important; }
    .single-post .projects-header { gap: 32px !important; }
    .single-post .projects-header-action { width: auto !important; align-self: flex-start !important; }
    .lsb-gallery-arrow { width: 36px !important; height: 36px !important; }
    .lsb-gallery-prev { left: 8px; }
    .lsb-gallery-next { right: 8px; }
    .lsb-gallery-counter { right: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .lsb-fullscreen-menu .lsb-menu-link { transition: none !important; transform: none !important; }
    .lsb-gallery-slide img { transition: none; transform: none !important; }
}
/* Match the project hero's single-row metadata and related-card typography. */
.single-post .inner-hero .elementor-widget-icon-list { width: 100% !important; margin: 0 !important; }
.single-post .inner-hero .elementor-icon-list-item {
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    align-items: center !important;
}
.single-post .inner-hero .elementor-icon-list-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.single-post .inner-hero .elementor-icon-list-item::after { display: none !important; }
.single-post .projects-section > .e-con-inner { gap: 0 !important; }
.single-post .projects-section :is(.projects-header,.projects-heading,.projects-header-action,.projects-grid-wrap,.projects-loop),
.single-post .projects-section .projects-loop > .elementor-widget-container { padding: 0 !important; }
.single-post .projects-section .projects-heading { gap: 0 !important; }
.single-post .projects-section .projects-header-action { width: auto !important; flex: 0 0 auto !important; }
.single-post .projects-section .projects-grid-wrap { width: 100% !important; }
.single-post .project-card-title { margin: 0 0 16px !important; }
.single-post .project-card-title .elementor-heading-title {
    font: 700 17.6px/1.5 "Saira", sans-serif !important;
    letter-spacing: -.01em !important;
}
.single-post .project-card-category { margin: 0 0 12px !important; }
.single-post .project-card-category .elementor-heading-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 10.4px/1.5 "Saira", sans-serif !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.single-post .project-card-category .elementor-heading-title::before { content: ""; flex: 0 0 16px; width: 16px; height: 2px; background: #ffef5c; }
.single-post .project-card-location .elementor-icon-box-description { font: 500 12.8px/1.5 "Be Vietnam Pro", sans-serif !important; }
.single-post .inner-hero .elementor-icon-list-items { flex-direction: row !important; }
.single-post .project-gallery .section-eyebrow .elementor-heading-title { color: rgba(255,255,255,.6) !important; }
.single-post .inner-hero .inner-hero-content > .e-con:last-child { padding: 0 !important; gap: 0 !important; }
/* Keep footer contact copy vertically centered beside its icon. */
.footer-contact .elementor-icon-box-wrapper {
    align-items: center !important;
}

.footer-contact .elementor-icon-box-icon {
    flex-shrink: 0;
}

.footer-contact .elementor-icon-box-description:has(br) {
    line-height: 1.4 !important;
}

