:root {
    --surface: #F4F4F4;
    --on-surface: #000000;
    --surface-variant: #FFFFFF;
    --on-surface-variant: #111111;
    --outline: #D4D4D4;

    --primary: #000000;
    --on-primary: #FFFFFF;

    --font-display: 'Syne', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --container: 1400px;
    --gutter-x: 2rem;
    --radius-lg: 0px;
    --radius-md: 0px;
    --radius-sm: 0px;
    --radius-pill: 999px;

    --easing-standard: cubic-bezier(.2, 0, 0, 1);
    --dur-short: 150ms;
    --dur-med: 300ms;

    --tap-purple: #9D65FF;
    --tap-blue: #4CABFF;
}

:root.dark {
    --surface: #0B0B0B;
    --on-surface: #F4F4F4;
    --surface-variant: #1A1A1A;
    --on-surface-variant: #E0E0E0;
    --outline: #333333;
    --primary: #FFFFFF;
    --on-primary: #000000;
}


* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background: var(--surface);
    color: var(--on-surface);
    line-height: 1.6;
    accent-color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}


.container,
section.container,
header .container,
footer .container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter-x);
}

@supports(padding:max(0px)) {

    .container,
    section.container,
    header .container,
    footer .container {
        padding-left: max(var(--gutter-x), env(safe-area-inset-left));
        padding-right: max(var(--gutter-x), env(safe-area-inset-right));
    }
}

.center {
    text-align: center;
}


.material-symbols-rounded {
    font-family: "Material Symbols Rounded";
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    visibility: hidden;
}

.icons-ready .material-symbols-rounded {
    visibility: visible;
}


.m3-elev-0 {
    box-shadow: none;
}

.m3-elev-1 {
    box-shadow: var(--shadow-1);
}

.m3-elev-2 {
    box-shadow: var(--shadow-2);
}

.m3-elev-3 {
    box-shadow: var(--shadow-3);
}

/* HERO SECTION */
.hero-section {
    padding-top: 180px;
    padding-bottom: 2rem;
    overflow: hidden;
    max-width: 100vw;
}

.hero-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.display-massive {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 9rem);
    line-height: 0.85;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0;
    color: var(--on-surface);
}

.display-massive .line {
    display: block;
    animation: slideLoop 6s cubic-bezier(0.2, 0, 0, 1) infinite;
    opacity: 0;
}

.display-massive .line:nth-child(1) {
    animation-delay: 0s;
}

.display-massive .line:nth-child(2) {
    animation-delay: 2s;
}

.display-massive .line:nth-child(3) {
    animation-delay: 4s;
}

@keyframes slideLoop {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    35% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
        text-shadow: none;
    }

    5% {
        transform: skew(-2deg);
        text-shadow: -3px 0 #ff00c1, 3px 0 #00fff9;
    }

    10% {
        transform: skew(2deg);
        text-shadow: 3px 0 #ff00c1, -3px 0 #00fff9;
    }

    15% {
        transform: skew(0deg);
        text-shadow: none;
    }

    100% {
        transform: skew(0deg);
        text-shadow: none;
    }
}

.hero-sub {
    margin-top: 2rem;
    font-size: 1.125rem;
    max-width: 400px;
    color: var(--on-surface-variant);
}

.hero-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 1px solid var(--outline);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-section {
        padding-top: 120px;
    }

    .hero-media-wrapper {
        aspect-ratio: 16/9;
    }
}

/* HEADER / APP BAR */
.app-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-block: 2rem;
    background: transparent;
    transition: transform var(--dur-med) var(--easing-standard);
}

.app-bar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    border-bottom: 1px solid var(--outline);
    padding-block: 1rem;
}

.app-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--on-surface);
    position: relative;
    transition: opacity var(--dur-short);
}

.nav-link:hover {
    opacity: 0.6;
}

.brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: 48px;
    width: auto;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }

    .brand {
        display: none;
    }

    .app-bar__inner {
        justify-content: flex-end;
    }
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in oklab, var(--on-surface) 12%, transparent);
}

.mobile-sheet {
    display: grid;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid color-mix(in oklab, var(--on-surface) 12%, transparent);
    background: var(--surface);
    position: relative;
    z-index: 200;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
}

.mobile-link:hover {
    background: color-mix(in oklab, var(--on-surface) 10%, transparent);
}

.hide-desktop {
    display: none;
}


.btn-filled,
.btn-filled-sm,
.btn-tonal,
.btn-outlined {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    transition: transform var(--dur-short) var(--easing-standard);
}

.btn-filled {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: var(--shadow-2);
}

.btn-filled-sm {
    background: var(--primary);
    color: var(--on-primary);
    padding: 10px 14px;
}

.btn-tonal {
    background: var(--primary-container);
    color: var(--on-primary-container);
}

.btn-outlined {
    border: 1px solid var(--outline);
}

.btn-filled:active,
.btn-tonal:active,
.btn-outlined:active {
    transform: scale(.98);
}


.hero {
    padding: 32px 0;
}

.hero-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.hero-media {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform var(--dur-long) var(--easing-standard);
}

.hero-media:hover {
    transform: translateY(-2px);
}

.fab.play {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow-2);
}


.display-large {
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.15;
}

.body-large {
    font-size: 18px;
    margin: 10px 0 18px;
}

.muted {
    color: var(--on-surface-variant);
}


.section {
    padding: 56px 0;
}

.split {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(260px, .9fr) 1.1fr;
    align-items: start;
}

.split-left {
    padding-right: 16px;
    border-right: 1px solid color-mix(in oklab, var(--on-surface) 12%, transparent);
}

.split-right {
    padding-left: 16px;
}


.team-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--outline);
    border-left: 1px solid var(--outline);
}

.team {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid var(--outline);
    border-right: 1px solid var(--outline);
    cursor: pointer;
}

.team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--dur-med);
}

.team:hover img {
    filter: grayscale(0%);
}

.team-meta {
    display: none;
}


/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--outline);
    border-left: 1px solid var(--outline);
    margin-top: 4rem;
}

.portfolio-item {
    border-bottom: 1px solid var(--outline);
    border-right: 1px solid var(--outline);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-item .media {
    width: 100%;
    aspect-ratio: 16/9 !important;
    order: 1;
    margin-bottom: 2rem;
    border: none;
    background: #000;
    overflow: hidden;
    border-radius: 16px;
}

.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}

.portfolio-title {
    order: 2;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--on-surface);
    margin: 0;
    text-align: right;
    align-self: flex-end;
    max-width: 80%;
}

.portfolio-item:nth-child(even) {
    justify-content: space-between;
}

.portfolio-item:nth-child(even) .media {
    order: 2;
    margin-bottom: 0;
    margin-top: 2rem;
}

.portfolio-item:nth-child(even) .portfolio-title {
    order: 1;
    text-align: left;
    align-self: flex-start;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(even) .media {
        order: 1;
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    .portfolio-item:nth-child(even) .portfolio-title {
        order: 2;
        text-align: left;
        align-self: flex-start;
    }

    .portfolio-title {
        text-align: left;
        align-self: flex-start;
        font-size: 2rem;
    }
}



.chip small {
    display: block;
    font-weight: 600;
    opacity: .7;
}

.item.video .play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 56px;
}


.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: none;
    place-items: center;
    background: color-mix(in oklab, #fff 22%, transparent);
    border: 1px solid color-mix(in oklab, #000 12%, transparent);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-2);
}

.carousel-nav.prev {
    left: -28px;
}


.carousel-nav.next {
    right: -28px;
}

.carousel-nav[disabled] {
    opacity: .4;
    pointer-events: none;
}

@media(min-width:960px) {
    .carousel-nav {
        display: grid;
    }
}


.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--on-surface) 22%, transparent);
    opacity: .9;
}

.dot[aria-current="true"] {
    background: var(--secondary);
}


.track.snap.is-sliding {
    scroll-snap-type: none;
}

.carousel .track {
    touch-action: pan-y;
}


.lightbox[hidden] {
    display: none !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
}

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
}

.lb-dialog {
    position: relative;
    width: min(92vw, 980px);
    background: color-mix(in oklab, var(--surface) 98%, transparent);
    border: 1px solid color-mix(in oklab, var(--on-surface) 12%, transparent);
    border-radius: 24px;
    box-shadow: var(--shadow-3);
    overflow: hidden;
    animation: lbIn .22s var(--easing-standard);
}

@keyframes lbIn {
    from {
        transform: translateY(6px) scale(.98);
        opacity: .8;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.lb-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: color-mix(in oklab, var(--surface) 90%, transparent);
    border: 1px solid color-mix(in oklab, var(--on-surface) 12%, transparent);
}

.lb-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.lb-media img,
.lb-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

.lb-caption {
    padding: 14px 16px 18px;
}

.lb-caption h4 {
    margin: 0 0 6px;
}

.lb-caption p {
    margin: 0;
    color: var(--on-surface-variant);
    font-size: 14px;
}


.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(16px + env(safe-area-inset-bottom));
    margin-inline: auto;
    width: auto;
    max-width: min(640px, 100% - (var(--gutter-x) * 2));
    min-height: 64px;
    padding: 8px 12px;
    border-radius: 18px;
    display: flex;
    background: color-mix(in oklab, var(--surface) 85%, transparent);
    border: 1px solid color-mix(in oklab, var(--on-surface) 12%, transparent);
    box-shadow: var(--shadow-3);
    backdrop-filter: blur(12px);
}

.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--on-surface-variant)
}

.bn-item.active {
    color: var(--on-surface);
    background: color-mix(in oklab, var(--on-surface) 8%, transparent)
}

.bn-label {
    font-size: 11px
}

@media(min-width:721px) {
    .bottom-nav {
        display: none
    }
}

:root {
    --bn-h: 84px
}

@media(max-width:720px) {
    body {
        padding-bottom: calc(var(--bn-h) + 32px + env(safe-area-inset-bottom)) !important
    }
}


@media(max-width:960px) {

    .top-nav>.nav-link,
    .top-nav>.btn-filled-sm {
        display: none;
    }

    .hide-desktop {
        display: inline-flex;
    }
}

@media(max-width:900px) {
    .split {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .split-left {
        padding-right: 0 !important;
        border-right: 0 !important;
    }

    .split-right {
        padding-left: 0 !important;
    }
}

@media(max-width:720px) {


    .section {
        padding-block: 44px;
    }

    .hero {
        padding-block: 24px 16px;
    }

    .display-large {
        font-size: clamp(24px, 6.5vw, 28px);
        line-height: 1.2;
    }

    .body-large {
        font-size: 16px;
    }


    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: calc(var(--bn-h) + 32px + env(safe-area-inset-bottom));
    }
}


@media(max-width:720px) {


    .team-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        mask-image: none !important;
    }


    @media (min-width:480px) {
        .team-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }
    }

    .team {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        border-radius: 16px !important;
        box-shadow: var(--shadow-1);
    }

    .team img {
        border-radius: inherit !important;
    }

    .team .badge {
        display: none !important;
    }


    #team.section {
        padding-block: 44px !important;
    }
}


@supports not (background: color-mix(in oklab, white 10%, black)) {

    .nav-link:hover,
    .mobile-link:hover,
    .footer {
        background: rgba(0, 0, 0, .04);
    }

    .footer {
        border-top: 1px solid rgba(0, 0, 0, .12);
    }
}


.hero-media {
    position: relative;
    overflow: hidden;
}

.hero-media .hero-video,
.hero-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.fab.play {

    right: 18px;
    bottom: 18px;
}


@media (max-width:720px) {
    .bottom-nav {
        position: fixed;
        z-index: 60;
        left: 50%;
        right: auto;

        transform: translateX(-50%);

        bottom: calc(16px + env(safe-area-inset-bottom));
        display: inline-flex;

        width: max-content;

        min-width: 0;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 18px;
        max-width: calc(100% - (var(--gutter-x) * 2));
        backdrop-filter: blur(12px);
    }


    :root {
        --bn-h: 84px;
    }

    body {
        padding-bottom: calc(var(--bn-h) + 24px + env(safe-area-inset-bottom)) !important;
    }
}


.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--on-surface-variant);
}

.bn-item.active {
    color: var(--on-surface);
    background: color-mix(in oklab, var(--on-surface) 8%, transparent);
}



.bn-label {
    font-size: 11px;
}



:root {
    --bn-h: 84px;
}


@media (max-width: 720px) {
    body {
        padding-bottom: calc(var(--bn-h) + 24px + env(safe-area-inset-bottom)) !important;
    }
}



@media (max-width: 720px) {
    .footer>.container {
        display: none !important;
    }
}




#contact {
    scroll-margin-bottom: calc(var(--bn-h) + 24px);
}

@media (max-width: 720px) {


    #contact {
        padding-bottom: calc(var(--bn-h) + 48px) !important;
    }


    #contact .btn-filled {
        position: relative;
        z-index: 61;

    }
}


.hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gradient);
    aspect-ratio: 16 / 9;

    max-height: min(72vh, 680px);
}

.hero-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

}


video.hero-desktop,
video.hero-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-desktop {
    display: block;
}

.hero-mobile {
    display: none;
}


@media (max-width: 720px) {
    .hero-media {
        aspect-ratio: 9 / 16;
        width: 100%;
        display: block;
        min-height: 50vh;

        max-height: 85vh;
        margin-inline: auto;
    }

    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
    }


    .hero-media .fab.play {
        display: none;
    }
}


.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--easing-standard), transform .8s var(--easing-standard);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
.footer-section {
    background: var(--on-surface);
    color: var(--surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
    color: var(--surface);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--surface-variant);
    font-size: 0.875rem;
    transition: color var(--dur-short);
}

.footer-nav a:hover {
    color: var(--surface);
}

.footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Hero Content Rata Tengah */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Animasi Loop Teks Utama */
.display-massive .line {
    display: block;
    opacity: 0;
    animation: textLoop 6s infinite;
}

.display-massive .line:nth-child(1) {
    animation-delay: 0s;
}

.display-massive .line:nth-child(2) {
    animation-delay: 2s;
}

.display-massive .line:nth-child(3) {
    animation-delay: 4s;
}

@keyframes textLoop {

    0%,
    10% {
        opacity: 0;
        transform: translateY(20px);
    }

    20%,
    80% {
        opacity: 1;
        transform: translateY(0);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Efek 3D/Glitch pada Tombol CTA saat Diklik */
.btn-filled:active {
    transform: scale(0.98) translateZ(-5px);
    box-shadow:
        -2px -2px 0px #ff00c1,
        2px 2px 0px #00fff9;
    animation: glitch-skew 0.2s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    20% {
        transform: skew(-2deg);
    }

    40% {
        transform: skew(2deg);
    }

    60% {
        transform: skew(-1deg);
    }

    80% {
        transform: skew(1deg);
    }

    100% {
        transform: skew(0deg);
    }
}