* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Inter', Arial, sans-serif;
    background-color: #141516;
}
/* Home layout: preserve the existing intro transforms and animation timings. */
.home-page { height: 100vh; height: 100dvh; overflow: hidden; }
.site-header .navbar { max-width: 1440px; height: 76px; margin: auto; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; }
.brand-link { color: #e8e6e1; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: 4px; }
.brand-link span { color: #EABD7C; }
.header-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.header-links a, .header-links button, .home-footer button { color: #b4b4b4; font: inherit; font-size: 13px; text-decoration: none; background: none; border: 0; cursor: pointer; }
.header-links .contact-link { color: #EABD7C; }
.header-links a, .header-links button { white-space: nowrap; }
.header-links a:hover, .header-links button:hover, .home-footer button:hover { color: #EABD7C; }
.home-page .hero, .home-page .container-text { height: 100vh; height: 100dvh; }
.home-page .content-index { position: fixed; inset: 0; }
.home-page .box-content { height: 100%; padding: 100px 6vw 96px; }
.home-page .home-introduction { width: 100%; max-width: 1260px; height: 100%; margin: auto; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 7vw; }
.home-eyebrow { color: #EABD7C; font-size: 10px; font-weight: 600; letter-spacing: 2px; line-height: 1.6; }
.home-copy h1 { margin: 22px 0; font-size: clamp(36px, 4.9vw, 76px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.08; color: #eceae5; }
.home-copy h1 span { color: #EABD7C; }
.home-summary { max-width: 520px; color: #ababaa; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.8; }
.home-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.home-primary, .home-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 15px 20px; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; border: 1px solid #EABD7C; border-radius: 3px; }
.home-primary { background: #EABD7C; color: #141516; }
.home-secondary { color: #d4d4d4; background: transparent; border-color: #454545; }
.home-primary:hover { background: #f3cd98; }
.home-secondary:hover { border-color: #EABD7C; color: #EABD7C; }
.home-profile-links { display: flex; align-items: center; gap: 22px; margin-top: 20px; }
.home-profile-links a { display: inline-flex; align-items: center; gap: 7px; color: #92928f; font-size: 11px; text-decoration: none; }
.home-profile-links a:hover { color: #EABD7C; }
.home-profile-links .arrow-up-right { width: 11px; height: 11px; flex-basis: 11px; }
.home-expertise { border-left: 1px solid #343536; padding-left: 32px; }
.home-expertise > div { position: relative; border-bottom: 1px solid #343536; padding: 22px 0 22px 28px; }
.home-expertise > div:last-child { border: 0; padding-bottom: 0; }
.expertise-number { position: absolute; left: 0; top: 25px; font-size: 10px; color: #EABD7C; }
.home-expertise h2 { color: #d4d4d4; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.home-expertise div p { color: #979794; font-size: 12px; line-height: 1.7; }
.home-footer { padding: 0 5vw; display: flex; align-items: center; justify-content: center; }
.footer-role { color: #92928f; font-size: 11px; letter-spacing: 0; }
@media (min-width: 701px) {
    .home-page .hero { isolation: isolate; }
    .home-page .circls-container { z-index: 0; pointer-events: none; }
    .home-page .container-text { position: relative; z-index: 1; }
    .home-page .site-header,
    .home-page .home-footer { z-index: 1001; background-color: #141516; isolation: isolate; }
    .home-page .site-header.visible:not(.header-transformed)::before,
    .home-page .home-footer.visible:not(.social-transformed)::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100px;
        background-color: #141516;
    }
    .home-page .site-header.visible:not(.header-transformed)::before { bottom: 100%; }
    .home-page .home-footer.visible:not(.social-transformed)::after { top: 100%; }
}
.arrow-up-right { display: inline-block; width: 14px; height: 14px; flex: 0 0 14px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-dialog { position: fixed; inset: 0; margin: auto; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: #1c1d1e; color: #d4d4d4; border: 1px solid #454545; border-radius: 8px; padding: 40px 28px; }
.brand-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.brand-dialog h2 { margin: 16px 0; font-size: 28px; font-weight: 500; line-height: 1.2; }
.brand-dialog > p:not(.home-eyebrow) { color: #ababaa; line-height: 1.8; font-size: 14px; margin-bottom: 24px; }
.brand-dialog .contact-pending { border-top: 1px solid #454545; padding-top: 16px; margin-bottom: 0; color: #EABD7C; }
.dialog-close { position: absolute; top: 10px; right: 14px; color: #d4d4d4; background: none; border: 0; font-size: 28px; cursor: pointer; }
:is(a, button):focus-visible { outline: 2px solid #EABD7C; outline-offset: 5px; }
.inner-page { color: #d4d4d4; }
@media (max-width: 700px) {
    .site-header .navbar { height: 64px; padding: 0 6vw; }
    .brand-link { font-size: 16px; letter-spacing: 2px; }
    .header-links { gap: 18px; }
    .header-links a, .header-links button { font-size: 12px; }
    .home-page .box-content { padding: 78px 7vw 90px; }
    .home-page .home-introduction { grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; }
    .home-copy h1 { font-size: clamp(34px, 8.5vw, 52px); margin: 16px 0; }
    .home-eyebrow { font-size: 9px; letter-spacing: 1.3px; }
    .home-summary { font-size: 14px; line-height: 1.65; }
    .home-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
    .home-primary, .home-secondary { padding: 13px 14px; font-size: 12px; gap: 12px; }
    .home-expertise { border-left: 0; border-top: 1px solid #343536; padding: 12px 0 0; display: grid; gap: 10px; }
    .home-expertise > div, .home-expertise > div:last-child { padding: 0 0 0 26px; border: 0; }
    .home-expertise .expertise-number { top: 2px; font-size: 10px; }
    .home-expertise h2 { margin: 0 0 3px; font-size: 13px; line-height: 1.3; }
    .home-expertise div p { font-size: 11px; line-height: 1.4; }
    .home-signature, .footer-note, .footer-brand span { display: none; }
}
@media (max-height: 680px) {
    .home-page .box-content { padding-top: 84px; padding-bottom: 90px; }
    .home-copy h1 { margin: 12px 0; font-size: clamp(30px, 6vh, 48px); }
    .home-summary { font-size: 13px; line-height: 1.5; }
    .home-signature { display: none; }
    .home-actions { margin-top: 16px; }
    .home-page .home-introduction { gap: 16px; }
    .home-expertise > div { padding-top: 14px; padding-bottom: 14px; }
    .expertise-number { top: 17px; }
}
@media (max-height: 500px) {
    .home-page .box-content { padding-top: 78px; padding-bottom: 88px; }
    .home-page .home-introduction { grid-template-columns: minmax(0, 1fr); }
    .home-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-items: center; }
    .home-copy > .home-eyebrow { grid-column: 1 / -1; }
    .home-copy h1 { margin: 0; font-size: 30px; }
    .home-actions { grid-column: 1 / -1; margin-top: 0; }
    .home-primary, .home-secondary { padding: 10px 14px; }
    .home-page .home-introduction { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
    .home-copy { display: block; }
    .home-copy h1 { margin: 8px 0; font-size: 26px; }
    .home-summary { font-size: 12px; line-height: 1.4; }
    .home-actions { margin-top: 10px; gap: 8px; }
    .home-primary, .home-secondary { font-size: 11px; padding: 9px; gap: 8px; }
    .home-expertise { display: grid; gap: 8px; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid #343536; }
    .home-expertise > div, .home-expertise > div:last-child { padding: 0 0 0 22px; border: 0; }
    .home-expertise .expertise-number { top: 2px; }
    .home-expertise h2 { font-size: 12px; margin-bottom: 3px; }
    .home-expertise div p { font-size: 11px; line-height: 1.4; }
}
@media (max-width: 700px) and (max-height: 740px), (max-height: 500px) {
    .site-header .navbar { height: 56px; }
    .home-page .home-footer { height: 48px; }
    .home-page .box-content { padding-top: 68px; padding-bottom: 60px; }
    .home-page .home-introduction { gap: 12px; }
    .home-copy h1 { margin: 10px 0; font-size: 30px; }
    .home-summary { font-size: 12px; line-height: 1.45; }
    .home-actions { margin-top: 12px; }
    .home-primary, .home-secondary { padding: 10px; font-size: 11px; gap: 8px; }
    .home-expertise > div, .home-expertise > div:last-child { padding-top: 0; padding-bottom: 0; }
}
/* Keep all content reachable on unusually small or zoomed viewports. */
@media (max-width: 500px) and (max-height: 540px), (max-height: 350px) {
    .home-page .content-index { overflow-y: auto; }
    .home-page .box-content { height: auto; min-height: 100%; }
    .home-page .home-introduction { height: auto; grid-template-columns: minmax(0, 1fr); }
    .home-expertise { border-left: 0; border-top: 1px solid #343536; padding: 12px 0 0; }
}
@media (max-width: 420px) {
    .site-header .navbar { padding-inline: 4vw; gap: 10px; }
    .site-header .brand-link { font-size: 14px; letter-spacing: 1px; }
    .site-header .header-links { gap: 8px; }
    .site-header .header-links a, .site-header .header-links button { font-size: 10px; }
}
.container{
    max-width: 1400px;
    padding: 0 20px;
    margin: 0 auto;
}
/* header  ******************************/
header{
    width: 100%;
    position: fixed;
    top: 100px; left: 0px;
    z-index: 1000;
    text-align: center;
    transform: translateY(-200px);
    border-bottom: 0.5px solid #3a3a3a;
    background-color: #141516;
    transition: transform 0.8s ease;
}
.header-transformed {
    background-color: #141516 !important; 
    color: #d4d4d4 !important;
    border-bottom: 0.5px solid #3a3a3a;
    font-weight: bold;
    transform: translateY(-100px) !important;
    transition: background-color 1s ease, color 1s ease, transform 1s ease;
}

header.header-transformed .item-list:hover{
    color: #EABD7C;
}
header.visible{
    transform: translateY(0);
}
header.header-transformed .item-list::after{
    content: "";
    width: 0;
    height: 0.5px;
    position: absolute;
    left: 0;bottom: 0;
    background-color: #EABD7C;
    transition: width 0.3s ease-in-out;
}
header.header-transformed .item-list:hover::after{
    width: 100%;
}
.list > ul{
    list-style-type: none;
}

.list > ul > li {
    padding: 30px 40px;
    display: inline-block;
}
.ul-list:first-child{
    margin-left: 0;
    padding-left: 0;
}
.list > ul > li > a{
    color: #898989;
    font-size: 10px;
    display: inline-block;
    letter-spacing: 3px;
    transition: all 0.5s;
}
.item-list{
    position: relative;
}
.item-list::after{
    content: "";
    width: 0;
    height: 0.5px;
    position: absolute;
    left: 0;bottom: 0;
    background-color: #EABD7C;
    transition: width 0.3s ease-in-out;
}
.item-list:hover::after{
    width: 100%;
}
.list > ul > li:last-child{
    border-right: none;
}
.list > ul > li > a:hover{
    color: #EABD7C;
}

.open-nav{
    color: #ccc;
    padding: 0 10px;
    cursor: pointer;
    position: absolute;
    right: 15px; top: 40px;
}
.close-nav{
    color: #626262;
    position: absolute;
    right: 40px; top: 40px;
    cursor: pointer;
    font-size: 25px;
    padding: 0 10px;
}
.overlay{
    width: 0;
    height: 100%;
    padding-top: 100px;
    position: fixed;
    left: 0; top: 0;
    overflow: hidden;
    transition: width 0.6s ease;
    background-color: #fff;
}
.overlay.show{
    width: 380px;

}
.overlay > ul{
    list-style-type: none;
}
.overlay > ul > li > a{
    width: 410px;
    margin: 2px 0;
    font-size: 13px;
    color: #626262;
    display: block;
    padding: 5px 30px;
    border-bottom: 0.5px solid #d9d9d9;
}
.overlay > ul > li > a:hover{
    border-bottom: 0.5px solid #626262;
}


/* section hero  ******************************/

.hero {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: start;
    position: fixed;
    top: 0; left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    background: #141516; 
    flex-direction: column;
    overflow: hidden;
    transition: width 0.8s ease;
}

.hidden {
    /* opacity: 0; */
    width: 0;
    /* display: none !important; */
}
.circls-container{
    position: absolute;
    top: 50%; left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.35s ease-in forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    animation: grow 0.45s ease-out forwards;
    transition: all 0.3s ease;  
}
.ring:nth-child(1) {
    width: 300px;
    height: 300px;
    animation-delay: 0.15s;
}
.ring:nth-child(2) {
    width: 400px;
    height: 400px;
    animation-delay: 0.25s;
}
.ring:nth-child(3) {
    width: 500px;
    height: 500px;
    animation-delay: 0.35s;
}
.ring:nth-child(4) {
    width: 600px;
    height: 600px;
    animation-delay: 0.45s;
}
.ring:nth-child(5) {
    width: 700px;
    height: 700px;
    animation-delay: 0.55s;
}




@keyframes grow {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.container-text {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;  
}
.text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    color: #d4d4d4;
    transform: translateX(30px);
    transition: transform 0.8s ease; 
}
.collapse-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(-40px);
    animation: collapse 0.3s forwards;
}

@keyframes collapse {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.button-container {
    display: none;
    text-align: center;
}

.action-button {
    padding: 2px;
    font-size: 12px;
    background: none;
    border: none;
    cursor: pointer;
    transform: translateX(40px); 
    opacity: 0;
    color: #d4d4d4;
    border-bottom: 1px solid #fff;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.action-button:hover{
    color: #EABD7C;
    border-bottom: 1px solid #EABD7C;
}
.action-button.show {
    transform: translateX(10px); 
    opacity: 1;
}

.social-media{
    width: 100%;
    height: 80px;
    position: fixed;
    bottom: 100px; left: 0px;
    z-index: 5;
    text-align: center;
    background-color: #141516;
    border-top: 0.5px solid #3a3a3a;
    transform: translateY(200px);
    transition: transform 0.8s ease;
}
.social-transformed {
    background-color: #141516 !important;
    color: #d4d4d4 !important;
    font-weight: bold;
    border-top: 0.5px solid #3a3a3a;
    transform: translateY(100px) !important;
    transition: background-color 1s ease, color 1s ease, transform 1s ease;
}
.social-media.social-transformed a:hover{
    color: #EABD7C;
    font-size: 20px;
}
.social-media.visible{
    transform: translateY(0);
}
.social-media > a{
    padding: 30px 10px;
    color: #7a7a7a;
    letter-spacing: 3px;
    font-size: 10px;
    transition: all 0.5s;
    display: inline-block;
}
.social-media > a:hover{
    color: #EABD7C;
}











/* section index  ******************************/
.content-index{
    overflow: hidden;
    background-color: #141516;
    color: #d4d4d4;
}
.box-content {
    width: 100%;
    height: 100vh;
    display: none;
    transform: translateY(50px);
    transition: transform 0.8s ease;
    background-color: #141516;
}
.box-content.visible {
    display: block;
    transform: translateY(0);
}

.widget{
    width: 95%;
    opacity: 0; 
    margin: 40px auto;
    /* padding: 0 10px; */
    transform: translateY(40px); 
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.widget.action{
    opacity: 1;
    transform: translateY(0);
}

.slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    margin: auto;
    overflow: hidden;
    white-space: nowrap;
}
.title-portfolio {
    margin-bottom: 20px;
}
.title-portfolio > a{
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
    /* color: #fff; */
    color: #EABD7C;
    border-bottom: 1px solid #EABD7C;
}
.slideshow .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}
.slideshow .item-portfolio {
    min-width: 100%;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.item-portfolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.description-port {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 100%;
    background: none;
    padding: 5px;
}
.description-port > p{
    margin: 5px 0;
    color: #fff;
}
.description-port a {
    text-decoration: none;
    background-color: #EABD7C;
    color: #141516;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 12px;
    padding: 0 5px;
    border-radius: 5px;
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
}
.prev { left: 0; }
.next { right: 0; }













.widget-item{
    margin: 150px 0;
    padding: 10px 0;
    border-top: 0.5px solid #ccc;
    border-bottom: 0.5px solid #ccc;
}

.title-services{
    margin: 20px 0;

}

.service-title > p{
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}
.box-service{
    margin: 10px;
    padding: 10px;
    border-left: 2px solid #ccc;
}
.box-service > p{
    margin: 0 0 10px 0;
    color: #c16f22;
}
.box-service > ul{
    margin:  0 0 20px 10px;
}
.box-service > ul > li{
    font-size: 13px;
    color: #7b7b7b;
}
.content-services{
    margin-bottom: 20px;
}























/* [ portfolio page ] ============================== */

.portfolio{
    padding: 50px 0;
}
.content-portfolio > p {
    margin: 10px 0;
    line-height: 25px;
}
.content-portfolio > ul {
    list-style-type: none;
    margin: 10px 0;
}
.content-portfolio > ul > li{
    margin: 5px 0;
    font-size: 13px;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: #ececec;
}
.description{
    font-weight: bold;
}
.features{
    font-weight: bold;
}
.demo{
    color: #ccc;
    padding: 2px 5px;
    font-size: 12px;
    margin: 10px 0;
    border-radius: 5px;
    display: inline-block;
    background-color: #000;
}

































@media screen and (max-width: 992px) {
    header{
        top: 50px;
        /* text-align: left; */
    }
    .header-transformed {
        transform: translateY(-50px) !important;
    }

    .list > ul > li{
        padding: 30px 4px;
        font-size: 9px;
    }

    .box-content{
        width: 100%;
    }
    .image-portfolio{
        margin-bottom: 20px;
    } 
    .row{
        justify-content: start;
    }
    .row-center{
        justify-content: center;
    }
    .slideshow {
        width: 100%;
        height: 300px;
    }
    .ring:nth-child(1) {
        width: 50px;
        height: 50px;
    }
    .ring:nth-child(2) {
        width: 150px;
        height: 150px;
    }
    .ring:nth-child(3) {
        width: 250px;
        height: 250px;
    }
    .ring:nth-child(4) {
        width: 350px;
        height: 350px;
    }
    .ring:nth-child(5) {
        width: 450px;
        height: 450px;
    }
    .social-media{
        bottom: 50px;
    }
    .social-transformed {
        transform: translateY(50px) !important;
    }
}
