/* font vars & --lcm-pad-x defined in global.css */
:root {
    --lcm-container: 75vw;
}

.lcm-container {
    width: min(100% - (var(--lcm-pad-x) * 2), var(--lcm-container));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* HERO moved to assets/css/page-hero.css as .lcm-page-hero (shared across pages, not About-specific) */

/*Hero section for about page*/
.lcm-about-hero {
    height: clamp(160px, 10.83vw, 208px) !important;
    min-height: clamp(160px, 10.83vw, 208px) !important;
    max-height: clamp(160px, 10.83vw, 208px) !important;
}

.lcm-about-hero .lcm-page-hero__content {
    padding: clamp(40px, 4.17vw, 80px) clamp(24px, 19.11vw, 367px) !important;
}

/* INTRO */
.lcm-about-intro {
    background: #FBF5EE;
    padding: clamp(60px, 6.25vw, 120px) 0 clamp(32px, 3.85vw, 74px);
}

.lcm-about-intro__heading {
    font-family: var(--lcm-font-kinfolk);
    font-size: clamp(26px, 2.5vw, 48px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.1; /* 110% */
    color: #B78758;
    margin-bottom: clamp(24px, 2.5vw, 48px); /* gap ke desc */
}

.lcm-about-intro__body p {
    font-family: var(--lcm-font-garamond);
    font-size: clamp(15px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1.25; /* 125% */
    letter-spacing: 0.03em; /* 3% */
    color: #2D2210;
    margin: 0;
    text-align: justify;
}

.lcm-about-intro__body strong {
    font-weight: 600;
    color: #3a2710;
}

/* TIMELINE */
.lcm-about-timeline {
    background: #FBF5EE;
    padding-bottom: clamp(60px, 6.25vw, 120px);
}

/* Wrapper untuk garis dot-bar vertikal — bungkus dari baris Blora
   sampai section "Practical, Functional, Beautiful" di PHP */
.lcm-timeline-divider-wrap {
    position: relative;
}

.lcm-timeline-divider-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(18px, 1.875vw, 36px);
    background-image: url('../images/DOT-BAR.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: contain;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.lcm-tl-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 5vw, 96px);
    align-items: stretch; /* image otomatis nyamain tinggi ke kolom teks (auto height) */
    overflow: visible;
    margin-bottom: clamp(32px, 3.85vw, 74px); /* 74px gap @1920px, scale proporsional */
}

.lcm-tl-row:last-child {
    margin-bottom: 0;
}

.lcm-tl-row--left .lcm-tl-row__image-wrap {
    order: -1;
}

.lcm-tl-row__image-wrap {
    position: relative;
    overflow: hidden;
    height: 100%;
    background: #FBF5EE;
}

.lcm-tl-row__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lcm-tl-row__caption {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #7a6040;
    font-family: var(--lcm-font-garamond);
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.05em;
}

.lcm-tl-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background: #FBF5EE;
}

.lcm-tl-row__year {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(78px, 5.729vw, 110px);   /* 110px @1920 */
    height: clamp(42px, 3.125vw, 60px);   /* 60px @1920 */
    padding-top: clamp(10px, 0.83vw, 16px);
    padding-right: clamp(16px, 1.25vw, 24px);
    padding-bottom: clamp(6px, 0.52vw, 10px);
    padding-left: clamp(16px, 1.25vw, 24px);
    gap: clamp(6px, 0.52vw, 10px);
    border-radius: 99px;
    border: clamp(1.5px, 0.104vw, 2px) solid var(--MAIN-TEAK-OIL, #B78758);
    opacity: 1;

    font-family: var(--lcm-font-garamond);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.67vw, 32px);
    line-height: 1.05;
    letter-spacing: 0;
    color: #B78758;
    margin-bottom: clamp(8px, 0.83vw, 16px);
}

.lcm-tl-row__year--today {
    width: clamp(88px, 6.406vw, 123px); /* 123px @1920 */
}

@media (max-width: 480px) {
    .lcm-tl-row__year,
    .lcm-tl-row__year--today {
        width: auto;
        min-width: 60px;
    }
}

.lcm-tl-row__heading {
    font-family: var(--lcm-font-kinfolk);
    font-size: clamp(24px, 2.08vw, 40px);
    font-weight: 400;
    color: #B78758;
    line-height: 1.1; /* 110% */
    letter-spacing: 0;
    margin-bottom: clamp(20px, 1.67vw, 32px); /* gap ke body */
}

.lcm-tl-row__body p {
    font-family: var(--lcm-font-garamond);
    font-size: clamp(15px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1.25; /* 125% */
    letter-spacing: 0.03em; /* 3% */
    color: #2D2210;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: justify;
}

.lcm-tl-row__body p:last-child {
    margin-bottom: 0;
}

.lcm-tl-row__body strong {
    font-weight: 600;
    color: #3a2a18;
}

.lcm-tl-row__body em {
    font-style: italic;
}

/* CLIENTS CAROUSEL */
.lcm-clients {
    background: #FBF5EE;
    padding: 0;
}

.lcm-clients .lcm-section-title {
    font-family: var(--lcm-font-kinfolk);
    font-size: clamp(26px, 2.5vw, 48px); /* 48px @1920 */
    font-weight: 400;
    font-style: normal;
    color: #B78758;
    text-align: center;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.4; /* 140% */
    margin: 0 0 clamp(24px, 2.5vw, 48px); /* 48px gap ke logo row @1920 */

    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #B78758;
    text-decoration-thickness: 0.05em;      /* ~5% dari font-size, auto-scale ikut font-size */
    text-underline-offset: 0.25em;          /* ~25% dari font-size, auto-scale ikut font-size */
    text-decoration-skip-ink: auto;
}

.lcm-clients__track-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    padding: 0;
    
    background: radial-gradient(circle, rgba(130, 129, 128, 0) 0%, rgba(130, 129, 128, 0.125) 25%, rgba(130, 129, 128, 0.25) 50%);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.lcm-clients__desktop-static {
    width: 100%;
    margin: 0 auto;
    padding: 0;
   -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.lcm-clients__static-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 80px;
    padding: 0 120px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lcm-clients__static-track:active {
    cursor: grabbing;
}

.lcm-clients__static-track::-webkit-scrollbar {
    display: none;
}

.lcm-clients__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.lcm-clients__item img {
    max-height: 95px;
    max-width: 230px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.45);
    opacity: 0.75;
    display: block;
}

/* HOUSE MODELS CTA */
.lcm-models-cta-section {
    background: #FBF5EE;
    padding: 0;
}

.lcm-models-cta {
    display: grid;
    grid-template-columns: 645fr 666fr; /* rasio lebar kolom teks : kolom card @1920 */
    column-gap: clamp(48px, 6.72vw, 129px); /* 129px @1920 */
    align-items: stretch;
    padding: clamp(48px, 6.25vw, 120px) 0; /* 120px top/bottom @1920, tanpa padding kiri-kanan */
    background: #FBF5EE;
}

.lcm-models-cta__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.lcm-models-cta__heading {
    font-family: var(--lcm-font-kinfolk);
    font-size: clamp(28px, 2.5vw, 48px); /* 48px @1920 */
    font-weight: 400;
    letter-spacing: 0;
    color: #B78758;
    line-height: 1.25; /* 125% */
    margin: 0 0 clamp(16px, 1.67vw, 32px);
}

.lcm-models-cta__sub {
    font-family: var(--lcm-font-garamond);
    font-size: clamp(18px, 1.67vw, 32px); /* 32px @1920 */
    font-weight: 400;
    letter-spacing: 0;
    color: #2D2210;
    margin: 0 0 clamp(30px, 3.125vw, 60px);
    line-height: 1.5; /* 150% */
}

.lcm-models-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(12px, 0.83vw, 16px) clamp(20px, 1.67vw, 32px);
    background: #B78758;
    color: #FBF5EE;
    font-family: var(--lcm-font-garamond);
    font-size: clamp(14px, 1.04vw, 20px); /* 20px @1920 */
    font-weight: 700;
    letter-spacing: 0.03em; /* 3% */
    line-height: 1; /* 100% */
    text-align: center;
    text-decoration: none;
    border-radius: clamp(6px, 0.52vw, 10px); /* 10px @1920 */
    width: fit-content;
    transition: background 0.25s ease, transform 0.18s ease;
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.25);
}

.lcm-models-cta__btn:hover {
    background: var(--lcm-gold-light);
    transform: translateY(-2px);
}

.lcm-models-cta__btn-icon {
    font-size: 16px;
}

.lcm-models-cta__right {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.25vw, 24px); /* 24px @1920 */
    padding: 0;
    background: transparent;
}

.lcm-model-card {
    position: relative;
    height: clamp(110px, 8.59vw, 165px); /* 165px @1920 */
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 0;
}

.lcm-model-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.lcm-model-card:hover .lcm-model-card__img {
    transform: scale(1.05);
}

.lcm-model-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(18px, 1.67vw, 32px) clamp(30px, 3.125vw, 60px); /* 32px top/bottom, 60px kiri/kanan @1920 */
    background: linear-gradient(90deg, rgba(45, 34, 16, 0.9) 30%, rgba(45, 34, 16, 0.35) 100%);
}

.lcm-model-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lcm-model-card__name {
    font-family: var(--lcm-font-kinfolk);
    font-size: clamp(22px, 2.08vw, 40px); /* 40px @1920 */
    font-weight: 400;
    letter-spacing: 0.05em; /* 5% */
    line-height: 1.4; /* 140% */
    color: #fff;
}

.lcm-model-card__sqm {
    font-family: var(--lcm-font-playfair);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.67vw, 32px); /* 32px @1920 */
    letter-spacing: 0.05em; /* 5% */
    line-height: 1.4; /* 140% */
    font-variant-numeric: lining-nums proportional-nums;
    color: #fff;
    opacity: 1;
}

.lcm-model-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.lcm-model-card__btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.lcm-model-card__btn-icon-img {
    width: auto;
    height: clamp(46px, 4.06vw, 78px); /* 78px @1920 */
    object-fit: contain;
    display: block;
}

.lcm-hide-desktop {
    display: none !important;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .lcm-clients__desktop-static {
        padding: 0 80px;
    }
}

@media (max-width: 900px) {
    .lcm-tl-row {
        grid-template-columns: 1fr;
    }

    .lcm-tl-row--left .lcm-tl-row__image-wrap {
        order: 0;
    }

    .lcm-tl-row__image-wrap {
        height: auto;
        aspect-ratio: 672 / 556;
    }

    .lcm-models-cta {
        grid-template-columns: 1fr;
    }

    .lcm-timeline-divider-wrap::before {
        display: none;
    }

    .lcm-clients__desktop-static {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .lcm-about-intro__body p,
    .lcm-tl-row__body p {
        text-align: left;
    }

    .lcm-model-card__overlay {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .lcm-clients {
        padding: 64px 0 56px;
    }

    .lcm-clients .lcm-section-title {
        margin-bottom: 40px;
    }

    .lcm-clients__item {
        padding: 16px 20px;
    }

    .lcm-clients__item img {
        max-height: 56px;
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    /*HERO*/
    .lcm-about-hero {
        height: clamp(85px, 25.58vw, 110px) !important;
        min-height: clamp(85px, 25.58vw, 110px) !important;
        max-height: clamp(85px, 25.58vw, 110px) !important;
    }

    .lcm-about-hero .lcm-page-hero__content {
        padding: clamp(32px, 9.3vw, 40px) clamp(16px, 5.58vw, 24px) !important;
        justify-content: space-between;
    }

    .lcm-page-hero__title {
        font-size: clamp(24px, 6.98vw, 36px);
    }

    /*BODY*/
    .lcm-about-intro {
        padding-top: clamp(32px, 9.30vw, 48px);
        padding-bottom: clamp(40px, 11.16vw, 60px);
    }
    .lcm-about-intro .lcm-container,
    .lcm-about-timeline .lcm-container,
    .lcm-clients .lcm-container,
    .lcm-models-cta-section .lcm-container {
        width: 100%;
        padding-left: clamp(16px, 5.58vw, 24px);
        padding-right: clamp(16px, 5.58vw, 24px);
    }

    h2.lcm-about-intro__heading {
        font-size: clamp(24px, 6.98vw, 36px);
        margin-bottom: clamp(12px, 3.72vw, 20px); 
    }

    .lcm-tl-row {
        row-gap: clamp(16px, 5.58vw, 32px); 
    }

    .lcm-tl-row__image-wrap {
        aspect-ratio: auto;
        order: -1;
    }

    .lcm-tl-row__content {
        gap: clamp(12px, 3.72vw, 20px);
    }

    h3.lcm-tl-row__heading {
        font-size: clamp(22px, 6.04vw, 30px);   
        margin-bottom: 0;
    }

    .lcm-about-intro__body p,
    .lcm-tl-row__body p {
        font-size: clamp(12px, 3.25vw, 16px); 
    }

    span.lcm-tl-row__year {
        width: clamp(75px, 20.23vw, 100px);
        height: clamp(32px, 8.60vw, 44px);
        padding: clamp(6px, 1.86vw, 10px) clamp(16px, 5.58vw, 32px);
        font-size: clamp(16px, 4.65vw, 24px);
        align-self: flex-start;
        margin-bottom: 0;
    }

    .lcm-timeline-divider-wrap {
        display: flex;
        flex-direction: column;
    }

    /* urutan tampilan = blora (1) -> 2020 (2) -> 2023 (3) -> 2021 (4) -> today (5) */
    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(1) { order: 1; } 
    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(2) { order: 2; } 
    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(4) { order: 3; }
    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(3) { order: 4; }
    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(5) { order: 5; }

    .lcm-tl-row__image-wrap { 
        height: clamp(220px, 66.74vw, 320px); 
    }
    
    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(4) .lcm-tl-row__image-wrap {
        height: clamp(160px, 50vw, 240px);
    }

    .lcm-timeline-divider-wrap > .lcm-tl-row:nth-child(5) .lcm-tl-row__image-wrap {
        height: clamp(200px, 61.86vw, 300px);
    }

    span.lcm-tl-row__year--today {
        width: clamp(80px, 22.09vw, 115px);
    }

    /*HAPPY CLIENTS SECTION */
    .lcm-hide-mobile { display: none !important; }
    .lcm-hide-desktop { display: flex !important; }

    .lcm-clients {
        padding-top: clamp(16px, 5.58vw, 32px);
        padding-bottom: 0;
    }

    h2.lcm-section-title {
        font-size: clamp(24px, 6.98vw, 36px);
        margin-bottom: clamp(16px, 5.58vw, 32px) !important;
    }
    
    .lcm-clients__track-wrap {
        height: clamp(220px, 65.11vw, 280px);
        background: radial-gradient(151.4% 151.4% at 50% 50%, rgba(130, 129, 128, 0) 0%, rgba(130, 129, 128, 0.125) 50%, rgba(130, 129, 128, 0.25) 100%);
    }

    .lcm-clients__viewport-mobile {
        display: flex;
        flex-direction: column;
        gap: clamp(16px, 7.44vw, 32px);
        width: 100%;
        padding: 0;
    }

    .lcm-clients__track-mobile {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 100%; 
        overflow-x: auto; 
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; 
        gap: clamp(24px, 10.84vw, 46.61px); 
        padding-left: clamp(16px, 5.58vw, 24px); 
        padding-right: clamp(16px, 5.58vw, 24px);
        
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    
    .lcm-clients__track-mobile::-webkit-scrollbar {
        display: none;
    }

    .lcm-clients__item {
        width: clamp(100px, 32.13vw, 138.16px);
        height: clamp(64px, 20.37vw, 87.61px);
        padding: 0; 
    }

    .lcm-clients__item img {
        max-width: 100%;
        max-height: 100%;
        border-radius: clamp(2px, 0.65vw, 3px); 
        filter: grayscale(100%) brightness(0.8);
        opacity: 0.85;
    }

    /*OWN YOUR PREFAB BUILDING*/
    .lcm-models-cta {
        padding: clamp(40px, 10.46vw, 48px) 0 clamp(32px, 9.30vw, 40px); 
        gap: clamp(20px, 5.58vw, 24px); 
    }

    .lcm-models-cta__heading {
        font-size: clamp(24px, 6.98vw, 30px);
        margin-bottom: clamp(6px, 1.86vw, 8px); 
    }

    .lcm-models-cta__sub {
        font-size: clamp(16px, 4.65vw, 20px);
        margin-bottom: clamp(12px, 3.72vw, 16px); 
    }

    .lcm-models-cta__btn {
        padding: clamp(12px, 3.72vw, 16px) clamp(24px, 7.44vw, 32px);
        font-size: clamp(16px, 4.65vw, 20px);
        border-radius: clamp(8px, 2.33vw, 10px);
    }

    .lcm-models-cta__right {
        gap: clamp(16px, 5.58vw, 24px); 
    }

    .lcm-model-card {
        height: clamp(100px, 29.30vw, 126px);
        border-radius: 0; 
    }

    .lcm-model-card__overlay {
        padding: clamp(16px, 5.58vw, 24px) clamp(12px, 3.72vw, 16px);
        justify-content: center;
        gap: clamp(12px, 3.72vw, 16px); 
    }

    .lcm-model-card__info {
        align-items: flex-start;
    }

    .lcm-model-card__name {
        font-size: clamp(16px, 4.65vw, 20px);
        white-space: nowrap;
    }

    .lcm-model-card__sqm {
        font-size: clamp(12px, 3.26vw, 14px);
    }

    .lcm-model-card__btn-icon-img {
        height: clamp(60px, 18.14vw, 78px);
        width: auto; 
    }   
}