@font-face {
    font-family: 'Aspekta 700';
    src: url('../assets/fonts/aspekta/Aspekta-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta 550';
    src: url('../assets/fonts/aspekta/Aspekta-550.woff2') format('woff2');
    font-weight: 550;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta 650';
    src: url('../assets/fonts/aspekta/Aspekta-650.woff2') format('woff2');
    font-weight: 650;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gloock';
    src: url('../assets/fonts/gloock/Gloock-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #131313;
    --text-primary: #fcfcfc;
    --text-secondary: #888888;
    --accent-color: #c50022;
    --font-heading: 'Aspekta 700', sans-serif;
    --font-body: 'Aspekta 550', sans-serif;
    --font-serif: 'Gloock', serif;
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100002;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
}

body.is-loaded .page-transition-overlay {
    opacity: 0;
}

body.is-leaving .page-transition-overlay {
    opacity: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* TV Effect */
/* TV Turn On Effect — Pure CSS, No GSAP Dependency */
@keyframes tv-line-expand {
    0% {
        transform: translateY(-50%) scaleX(0);
        opacity: 1;
    }

    40% {
        transform: translateY(-50%) scaleX(1);
        opacity: 1;
        height: 2px;
    }

    70% {
        transform: translateY(-50%) scaleX(1);
        opacity: 1;
        height: 100vh;
    }

    90% {
        transform: translateY(-50%) scaleX(1);
        opacity: 0;
        height: 100vh;
    }

    100% {
        transform: translateY(-50%) scaleX(1);
        opacity: 0;
        height: 100vh;
    }
}

@keyframes tv-screen-fade {
    0% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.tv-black-screen {
    position: fixed;
    inset: 0;
    background: #131313;
    z-index: 9998;
    pointer-events: none;
    animation: tv-screen-fade 0.65s ease-out forwards;
    animation-delay: 0s;
}

.tv-white-line {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fcfcfc;
    z-index: 9999;
    transform: translateY(-50%) scaleX(0);
    pointer-events: none;
    animation: tv-line-expand 0.65s ease-out forwards;
    animation-delay: 0s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /* Behind TV effects (9998) */
    mix-blend-mode: normal !important;
    /* Hapus efek negative secara total */
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s ease, background 0.4s ease;
}

/* State when scrolled down and hidden */
.navbar.is-hidden {
    opacity: 0;
}

/* Sembunyikan Logo, Bendera, dan Burger saat Menu Terbuka */
body.is-menu-open .logo,
body.is-menu-open .lang-toggle,
body.is-menu-open .menu-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo,
.lang-toggle,
.menu-btn {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Reappear on hover even when is-hidden is active */
.navbar:hover {
    opacity: 1 !important;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
    /* Lower than TV effects (9999) */
}

.text-accent {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Glassmorphism Effect for Navbar Items */
.logo,
.lang-toggle button,
.menu-btn {
    position: relative;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    /* More area for hover effect */
    background: transparent;
}

.logo:hover,
.lang-toggle button:hover,
.menu-btn:hover {
    background: rgba(252, 252, 252, 0.1) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(252, 252, 252, 0.1);
}

.logo-img {
    height: 70px;
    /* Further increased for robust 'Home' button feel */
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    /* Subtle interactivity */
}

.menu-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.burger-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger-bars span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fcfcfc;
    transition: background-color 0.4s ease, transform 0.3s ease;
}

.navbar.nav-dark-mode .burger-bars span {
    background-color: #000;
}

.menu-btn:hover .burger-bars span {
    background-color: var(--accent-color);
    /* Red highlight on hover */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-toggle button {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    width: 32px;
    /* Diperbesar sedikit agar lebih terlihat */
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    /* Default lebih terlihat */
    transition: all 0.3s ease;
}

.lang-toggle button.active {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(252, 252, 252, 0.1);
    border-radius: 4px;
}

.flag-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.lang-toggle button:hover {
    opacity: 0.8;
}

/* ========== NAVIGATION OVERLAY ========== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #131313;
    z-index: 2000000;
    display: none;
    /* Controlled by JS */
    opacity: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10% 5% 5% 5%;
    /* Top padding for breathing room */
}

.nav-overlay.is-active {
    display: flex;
    opacity: 1;
    align-items: flex-start;
    /* Align all content to the left */
}

/* ========== HERO SECTION (Framer-style Refinement) ========== */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #131313;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100% !important;
    /* Override container max-width */
    height: 100%;
    /* Ensure it spans the whole hero for positioning */
    padding: 0 3%;
}

.hero-location-box {
    position: absolute;
    top: 2.1rem;
    right: calc(5% + 1rem);
    /* Aligned with burger icon */
    transform: none;
    text-align: right;
    display: flex;
    flex-direction: column;
    /* Icon next to text instead of above */
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 10;
}

.hero-location-icon {
    width: 35px;
    /* Match text height */
    height: 35px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.hero-roles-new p,
.hero-location-text p {
    font-family: var(--font-heading);
    font-size: 35px !important;
    font-weight: 700 !important;
    line-height: 1.618 !important;
    /* Golden Ratio */
    color: inherit;
}

.hero-roles-new p {
    color: var(--accent-color) !important;
    text-transform: uppercase;
    margin-bottom: 0;
}

.hero-location-text p {
    color: var(--accent-color) !important;
}

.hero-title {
    position: absolute;
    left: calc(5% + 1rem);
    /* Aligned with logo */
    bottom: 5%;
    font-family: var(--font-heading);
    font-size: 6vw;
    line-height: 0.9;
    color: var(--accent-color);
    text-transform: none !important;
    max-width: 50vw;
    white-space: nowrap;
    word-break: normal;
    z-index: 10;
}

.hero-meta {
    position: absolute;
    top: 2.1rem;
    left: calc(5% + 1rem);
    /* Aligned with logo */
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.hero-location-box {
    position: absolute;
    top: 2.1rem;
    right: calc(5% + 1rem);
    /* Aligned with burger icon */
    transform: none;
    text-align: right;
    display: flex;
    flex-direction: column;
    /* Icon next to text instead of above */
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 10;
}

.hero-location-icon {
    width: 35px;
    /* Match text height */
    height: 35px;
    color: var(--accent-color);
    flex-shrink: 0;
}


.nav-close {
    position: absolute;
    top: 2rem;
    right: 5vw;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: #fcfcfc;
    /* Light icon for dark background */
}

.nav-close:hover {
    transform: rotate(90deg);
}

.close-bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fcfcfc !important;
}

.close-bar:nth-child(1) {
    transform: rotate(45deg);
}

.close-bar:nth-child(2) {
    transform: rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Editorial left-aligned feel */
    gap: 1.5rem;
    padding-left: 10%;
    /* Add some breath from the left edge */
}

.nav-link {
    font-family: 'Gloock', serif;
    font-size: 3.2rem;
    color: rgba(252, 252, 252, 0.4);
    /* Faint light for editorial feel */
    text-decoration: none;
    line-height: 1.1;
    font-weight: 400;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link::before {
    content: attr(data-number);
    font-family: var(--font-display);
    /* Aspekta */
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    opacity: 0;
    transition: all 0.4s ease;
}

.nav-link:hover {
    color: #fcfcfc;
    padding-left: 1rem;
}

.nav-link:hover::before {
    opacity: 1;
}

/* --- Nav Sub-menu (Brandfolio dropdown) --- */
.nav-item-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.nav-link--parent {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4em;
    -webkit-user-select: none;
    user-select: none;
}

.nav-arrow {
    width: 0.55em;
    height: 0.55em;
    stroke: currentColor;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), color 0.4s ease;
    flex-shrink: 0;
    margin-top: 0.05em;
}

.nav-link--parent.is-open .nav-arrow {
    transform: rotate(180deg);
}

.nav-link--parent.is-open {
    color: var(--accent-color, #ff0000);
}

.nav-submenu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left aligned sub-menu */
    gap: 0.8rem;
    padding-left: 3rem;
    /* Indented for hierarchy */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s ease;
    pointer-events: none;
}

.nav-submenu.is-open {
    max-height: 200px;
    opacity: 1;
    pointer-events: all;
    margin-top: 0.6rem;
}

.nav-sublink {
    font-family: var(--font-serif);
    /* Gloock */
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: rgba(252, 252, 252, 0.6);
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.nav-sublink:hover {
    color: #fcfcfc;
    letter-spacing: 0.12em;
}

.nav-overlay-footer {
    padding-bottom: 2rem;
    padding-left: 10%;
    /* Matches nav-links padding */
}

.nav-overlay-footer a {
    color: rgba(252, 252, 252, 0.7);
    font-family: var(--font-body);
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-overlay-footer a:hover {
    color: var(--accent-color);
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #131313;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 12vh 5% 5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-location-box {
    align-self: flex-end;
    text-align: right;
}



.hero-main-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-meta {
    display: flex;
    align-items: flex-end;
    gap: 6rem;
}


.about-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.about-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Aligned to the left */
    padding: 10vh 5%;
}

.about-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/blur-abstractions_41.webp');
    background-size: cover;
    background-position: top center;
    opacity: 0;
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-text {
    font-family: 'Aspekta 650', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #2a2a2a;
    /* Dim color as base */
    text-align: left;
    max-width: 1200px;
    margin: 0;
    overflow-wrap: normal;
}

.reveal-text .char {
    display: inline-block;
    color: #2a2a2a;
    /* Initial dim color */
    will-change: color;
}

.text-container {
    width: 100%;
    max-width: 1200px;
}

.about-tagline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    z-index: 100;
    /* Increased to stay on top */
    opacity: 0;
    pointer-events: none;
}

.identity-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* Will be animated or handled by shifting */
    position: relative;
}

.identity-logo-wrapper {
    width: 0;
    /* Start with no width to keep text centered */
    opacity: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.identity-logo {
    height: 120px;
    width: auto;
    min-width: 120px;
    object-fit: contain;
    /* Prevents stretching */
}

.identity-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Start centered */
    text-align: center;
    gap: 0.5rem;
}

.identity-line {
    font-family: 'Aspekta 650', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}

.services-section {
    padding: 10rem 0;
    /* Equalized top and bottom padding */
    background-color: #f4f4f5;
    /* Soft ultra-light grey/white, nyaman di mata */
    color: #111;
    /* Ganti teks default jadi gelap */
}

.services-section .section-label {
    color: #666;
    /* Ubah warna label Services jadi abu gelap */
}

/* Hide Navbar elements when modal is open */
body.modal-open .nav-container,
body.modal-open .nav-logo,
body.modal-open .lang-switcher,
body.modal-open .burger-menu,
body.modal-open nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Container daftar bab beruntun */
.services-list-container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    /* Jeda bersih antar bab */
}

/* Penata Letak Grid per BAB - Menjamin sinkronisasi alignment */
.service-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    /* Fixed width to align titles of 01-03 with 04 */
    gap: 3rem;
    padding-top: 0;
    padding-bottom: 0;
    /* Dinolkan agar kotak bounding berhenti TEPAT di teks paling bawah */
    min-height: 0;
}

.service-item-left {
    position: relative;
    text-align: center;
    /* Center numbers horizontally without breaking sticky */
}

.sticky-number {
    position: sticky;
    top: 20vh;
    /* Position where the number sticks during scroll */
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 220px;
    line-height: 0.8;
    letter-spacing: -2px;
    font-weight: 400;
    color: var(--accent-color);
    opacity: 0.9;
    text-align: center;
}

.service-title {
    font-size: 60px;
    /* Diperbesar signifikan menjadi massive heading */
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    /* Menambahkan ketegasan style heading */
    line-height: 1.1;
    color: #000;
    /* Hitam pekat untuk penegasan */
}

.service-desc {
    font-size: 1.15rem;
    color: #444;
    /* Abu-abu kemerlap/cukup gelap tapi lembut */
    margin-bottom: 2rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Garis batas atas gelap transparan */
}

.service-list li {
    font-size: 1.125rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Garis batas bawah gelap transparan */
    position: relative;
    padding-left: 2rem;
    color: #111;
    /* Hitam pekat tebal pada item list */
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ========== BRANDFOLIO SECTION ========== */
.brandfolio-section {
    position: relative;
    padding: 5rem 0 0;
    /* Centering the header between sections */
}

.brandfolio-header {
    padding: 0 5% 5rem;
    /* Centering the header between sections */
    text-align: center;
}

.brandfolio-track {
    display: block;
    padding: 0 3%;
    /* Ruang bernafas dari pinggir layar */
}

.brandfolio-slide {
    position: sticky;
    top: 100px;
    width: 100%;
    height: 80vh;
    display: grid;
    grid-template-columns: 55% 45%;
    /* Gambar kiri, detail kanan */
    overflow: hidden;
    background-color: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(252, 252, 252, 0.05);
    text-decoration: none;
    /* No link underline */
    color: inherit;
    /* inherit text color */
    cursor: pointer;
    margin-bottom: 30vh;
}

.brandfolio-slide:nth-child(1) {
    --card-index: 1;
}

.brandfolio-slide:nth-child(2) {
    --card-index: 2;
}

.brandfolio-slide:nth-child(3) {
    --card-index: 3;
}

.brandfolio-slide:nth-child(4) {
    --card-index: 4;
    position: relative !important;
    top: auto !important;
    margin-bottom: 0 !important;
}

.brandfolio-slide:nth-child(5) {
    --card-index: 5;
}

.brandfolio-slide:nth-child(6) {
    --card-index: 6;
}

.brandfolio-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.brandfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img.nouna-zoom {
    transform: scale(1.15) !important;
    object-position: center 10% !important;
}

.brandfolio-slide:hover .brandfolio-image img {
    transform: scale(1.03);
}

.brandfolio-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Judul di atas, scope di bawah */
    padding: 5rem 5rem 4rem 4rem;
    position: relative;
    background: rgba(252, 252, 252, 0.9);
    /* White glassmorphism */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    color: #131313;
    /* Black text */
}

/* Update child elements for black text readability */
.brandfolio-details .brandfolio-title {
    color: #131313;
}

.brandfolio-details .brandfolio-desc {
    color: rgba(19, 19, 19, 0.8);
}

.brandfolio-details .brandfolio-scope h4 {
    color: rgba(19, 19, 19, 0.6);
}

.brandfolio-details .brandfolio-scope ul li {
    color: #131313;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Institutional Logo Carousel (Lembaga) */
.logo-carousel-section {
    background-color: #fcfcfc;
    padding: 1.5rem 0;
    /* Reduced from 3rem */
    margin-top: 65px;
    /* Space tambahan di bawah brandfolio agar tidak menempel */
    color: #0d0d0d;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.logo-carousel-wrapper {
    cursor: grab;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel-wrapper:active {
    cursor: grabbing;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    height: 100px;
    /* Logo lebih besar sesuai permintaan */
    padding: 0 60px;
    /* Jarak antar logo menggunakan padding */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    display: block;
}

@media (max-width: 768px) {
    .logo-carousel-section {
        padding: 2rem 0;
    }

    /* Reduced from 5rem */
    .logo-carousel-track {
        gap: 50px;
    }

    .logo-item {
        height: 50px;
    }
}

/* ========== TESTIMONIALS SECTION ========== */
.testi-section {
    background-color: #0d0d0d;
    min-height: 0;
    /* Removed 70vh to prevent vertical stretching */
    display: flex;
    flex-direction: column;
    /* Stack header and cards vertically */
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    /* Consistent 5rem vertical padding */
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.testi-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    height: auto;
    /* Changed from 100% to prevent excessive height */
    position: relative;
}

.testi-section .section-title {
    color: #fff;
    margin-bottom: 4rem;
}

.testi-section .section-label {
    margin-top: 0;
    /* Reduced from 2rem */
    margin-bottom: 3rem;
    /* Reduced from 4rem */
    color: rgba(255, 255, 255, 0.4);
}

.testi-stack-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-stack {
    position: relative;
    width: 100%;
    max-width: 1350px;
    /* Increased from 1100px for wider desktop look */
    height: 450px;
    /* Increased to prevent truncation of long quotes */
    margin: 0 auto;
}

.testi-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fcfcfc;
    padding: 2.5rem 5rem;
    /* Wider horizontal padding */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    text-align: left;
    color: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 20px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    width: 95%;
    max-width: 1250px;
    /* Increased from 1000px for landscape look */
    height: auto;
    min-height: 350px;
    /* Increased to accommodate wide quotes nicely */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testi-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    z-index: 5;
}

/* Horizontal Stacking effect */
.testi-card.prev {
    opacity: 0.3;
    visibility: visible;
    transform: translate(-60%, -50%) scale(0.92) rotate(-2deg);
    z-index: 2;
    filter: blur(4px);
}

.testi-card.next {
    opacity: 0.3;
    visibility: visible;
    transform: translate(-40%, -50%) scale(0.92) rotate(2deg);
    z-index: 2;
    filter: blur(4px);
}

/* Internal Layout - Slim Version */
.testi-quote-wrap {
    width: 100%;
}

.testi-footer-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    /* Reduced from 1.5rem */
}

.testi-meta-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.testi-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.testi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-quote {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.6;
    font-weight: 500;
    color: #1a1a1a;
    font-style: normal;
}

.testi-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.testi-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    text-transform: none;
}

.testi-role {
    font-size: 0.8rem;
    color: #888;
    text-transform: none;
}

.testi-stars {
    color: var(--accent-color);
    letter-spacing: 2px;
    font-size: 0.8rem;
}



/* Navigation */
.testi-nav {
    position: relative;
    /* Changed from absolute to follow flex flow */
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 50;
}

.testi-prev,
.testi-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(252, 252, 252, 0.05);
    border: 1px solid rgba(252, 252, 252, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.testi-prev:hover,
.testi-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* Footer & Button */
.testi-footer {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 25;
}

.testi-google-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fcfcfc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0;
    /* Auto center managed by flex parent */
}

.testi-google-btn:hover {
    background: #fcfcfc;
    color: #000000;
    border-color: #fcfcfc;
    transform: translateY(-5px);
}

.testi-google-btn svg {
    transition: transform 0.4s ease;
}

.testi-google-btn:hover svg {
    transform: scale(1.2);
}





.brandfolio-top {
    flex-shrink: 0;
    /* Mencegah area atas terkompres oleh scope di bawah */
}

.brandfolio-title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    /* Increased distance from description */
}

.brandfolio-year {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--accent-color);
}

.brandfolio-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 420px;
}

/* Scope of Works — posisi pojok kanan bawah frame */
.brandfolio-scope {
    flex-shrink: 0;
    /* Menjaga scope tetap utuh di bawah */
}

.brandfolio-scope h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.brandfolio-scope ul {
    list-style: none;
    padding: 0;
}

.brandfolio-scope ul li {
    font-size: 1rem;
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(252, 252, 252, 0.08);
    position: relative;
    padding-left: 1.5rem;
}

.brandfolio-scope ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Footer Hero Integration */
.footer-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.footer-hero-section .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/footer-photo.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

/* Footer Hero Styles removed from here to consolidate with the main Editorial Footer block at the end of the file */

.footer-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 4rem 0;
}



.footer-info p {
    mix-blend-mode: difference;
    /* Keep negative effect for address info only */
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-info h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-secondary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(252, 252, 252, 0.1);
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-copy {
    font-size: 0.9rem;
    color: rgba(252, 252, 252, 0.4);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-sticky-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .footer-layout {
        flex-direction: column;
        align-items: flex-end;
        gap: 2rem;
    }

    .footer-contact {
        align-items: flex-end;
    }

    .project-card {
        top: calc(5% + (var(--card-index) * 10px));
        height: 60vh;
    }
}

/* ========== CASE STUDY PAGES ========== */
.cs-hero-full {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    z-index: 0;
}

.cs-hero-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Grid Layout for Title & Overview */
.cs-content-section {
    position: relative;
    z-index: 10;
    background-color: transparent;
    padding: 10rem 18% 10rem 8%;
    /* Shifted left by reducing left padding and increasing right padding */
}

.cs-grid-wrapper {
    display: grid;
    grid-template-columns: 35% 1fr;
    /* Adjusted ratio for better alignment */
    gap: 8rem;
    /* GAP: More breathing room between columns */
    align-items: start;
}

.cs-sticky-col {
    position: sticky;
    top: 20vh;
}

.cs-sticky-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    /* REDUCED SIZE */
    color: var(--text-primary);
    margin-bottom: 2rem;
    /* SPACE */
    line-height: 1.1;
}

.cs-sticky-meta {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cs-scroll-col {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.cs-section-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.cs-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
}

.cs-text p {
    margin-bottom: 1.5rem;
}

.cs-overview-meta ul {
    list-style: none;
    padding: 0;
}

.cs-overview-meta ul li {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

/* 3. Parallax Gallery */
.cs-parallax-gallery {
    padding: 0 0 10rem 0;
    /* Full bleed edge-to-edge */
    background-color: #080808;
    position: relative;
    z-index: 10;
}

.prl-item {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    overflow: hidden;
    margin-bottom: 0;
    /* Stack images flush together */
    border-radius: 0;
    /* No radius to hug screen edges */
}

.prl-img {
    position: absolute;
    top: -20%;
    /* Give ample room for extreme parallax shift */
    left: 0;
    width: 100%;
    height: 140%;
    /* Super tall to allow large Y translation */
    object-fit: cover;
}

/* 4. More Brandfolio Grid */
.cs-more-brandfolio {
    padding: 10rem 0;
    /* Vertical padding only, using container for horizontal */
    background-color: #080808;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.more-bf-header {
    text-align: center;
    margin-bottom: 5rem;
}

.more-bf-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--text-primary);
}

.more-bf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.more-bf-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.more-bf-card:hover {
    transform: translateY(-10px);
}

.more-bf-image {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #111;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.more-bf-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.more-bf-card:hover .more-bf-image img {
    transform: scale(1.05);
}

.more-bf-meta h4 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.more-bf-meta span {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .more-bf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cs-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .cs-sticky-col {
        position: relative;
        top: 0;
    }

    .more-bf-grid {
        grid-template-columns: 1fr;
    }

    .cs-content-section {
        margin-top: 80vh;
        /* allow hero to show some space */
    }
}

/* ========== PROJECTS PAGE ========== */
.pg-header {
    padding: 15rem 0 5rem;
    position: relative;
    z-index: 10;
}

.pg-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 12rem);
    color: var(--text-primary);
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.pg-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.5;
}

/* ========== BRANDFOLIO HORIZONTAL SCROLL ========== */
.bf-hs-wrapper {
    width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: transparent;
    /* Assuming dark bg inherited */
    padding-bottom: 5rem;
}

.bf-hs-container {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 100vh;
    align-items: center;
    /* Center items vertically */
    padding-left: 5vw;
}

.bf-hs-item {
    width: 80vw;
    height: 70vh;
    /* Fixed max height for consistency */
    margin-right: 5vw;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Reset brandfolio-slide values for horizontal scroll specifically */
.bf-hs-item .brandfolio-slide {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 0;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .bf-hs-item {
        width: 90vw;
        height: 80vh;
        margin-right: 10vw;
    }

    .bf-hs-item .brandfolio-slide {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========== BRANDFOLIO SPLIT HERO ========== */
.bf-split-hero {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    padding-top: 8vh;
}

.bf-split-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 10;
}

.bf-hover-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.bf-hover-bg-branding {
    background-image: url('../assets/images/blur-abstractions_42.webp');
}

.bf-hover-bg-web {
    background-image: url('../assets/images/blur-abstractions_43.webp');
}

.bf-split-hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 70vh;
    max-height: 600px;
    z-index: 20;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    opacity: 0;
    animation: blurFadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 1s;
}

@keyframes blurFadeIn {
    0% {
        filter: blur(20px);
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.bf-split-link {
    font-family: 'Aspekta 650', sans-serif;
    /* Aspekta 650 is the closest available weight to 600 */
    font-size: 150px;
    line-height: 1;
    text-decoration: none;
    letter-spacing: -5px;
    transition: color 0.4s ease, -webkit-text-stroke-color 0.4s ease;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

/* Solid state: filled text */
.bf-split-link.is-solid {
    color: #fcfcfc;
    -webkit-text-stroke: 0;
}

/* Outline state: hollow stroke text */
.bf-split-link.is-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
}

/* Hover: active item turns white solid */
.bf-split-link.is-solid:hover {
    color: #fcfcfc;
}

.bf-split-link.is-outline:hover {
    color: #fcfcfc;
    -webkit-text-stroke: 0;
}

/* Layered front text for outline effect */
.bf-split-link .bf-text-front {
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 2px rgba(252, 252, 252, 0.4);
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bf-split-link:hover .bf-text-front {
    opacity: 1;
}

/* When WEB is hovered, JS will swap classes. These are the CSS targets. */
.bf-split-link.is-solid.swap-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
}

.bf-split-link.is-outline.swap-solid {
    color: var(--accent-color);
    -webkit-text-stroke: 0;
}

.bf-split-subtitle {
    margin-top: 6rem;
    font-size: 1rem;
    color: #fcfcfc;
    letter-spacing: 0.1em;
    transform: translateY(5rem);
    /* Menggeser secara visual ke bawah tanpa mempengaruhi layout elemen lain */
}

@media (max-width: 768px) {

    /* Style the main split hero section to have a white background on mobile */
    .bf-split-hero {
        background-color: #fcfcfc !important;
        /* Premium off-white */
    }

    /* Style the navbar icons to be dark/black so they are visible against the white background */
    body:not(.is-menu-open) .navbar .burger-bars span {
        background-color: #131313 !important;
    }

    body:not(.is-menu-open) .navbar .lang-toggle button.active {
        background: rgba(19, 19, 19, 0.08) !important;
    }

    /* Hide the centered transparent hero photo completely on mobile */
    .bf-split-hero-img {
        display: none !important;
    }

    /* Disable hover background images on mobile to optimize loading and clean up view */
    .bf-hover-bg-branding,
    .bf-hover-bg-web,
    .bf-hover-bg {
        background-image: none !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Adjust vertical alignment of links to be perfectly centered with elegant gap */
    .bf-split-container {
        gap: 1.5rem !important;
        width: 100%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Make both category links solid deep black, large, bold, and easily readable on mobile */
    .bf-split-link {
        font-size: clamp(3.5rem, 12vw, 5.5rem) !important;
        letter-spacing: -3px !important;
        text-align: center;
        width: 100%;
        display: block;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    /* Hide the second text layer on mobile to remove the outline/shadow doubling effect */
    .bf-split-link .bf-text-front {
        display: none !important;
    }

    .bf-split-link.is-solid,
    .bf-split-link.is-outline {
        color: #131313 !important;
        -webkit-text-stroke: 0 !important;
    }

    /* Elegant red touch/active feedback on mobile */
    .bf-split-link:active {
        color: var(--accent-color, #cc0000) !important;
        transform: scale(0.96);
    }

    /* Subtitle position below the link stack with elegant padding and dark grey color */
    .bf-split-subtitle {
        margin-top: 3.5rem !important;
        transform: none !important;
        text-align: center;
        font-size: 0.9rem !important;
        color: #555555 !important;
        opacity: 0.8;
        padding: 0 10%;
        line-height: 1.5;
    }
}

/* ================================================================
   LIQUID WATER RIPPLE PAGE TRANSITION SYSTEM
   ================================================================ */
.ripple-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999999 !important;
    /* Overlay above all site elements */
    overflow: hidden;
}

.ripple-circle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #131313;
    /* Solid black to match target page backgrounds */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    will-change: transform;
}

/* ========== ABOUT PAGE ========== */

/* Section 1: Introduction */
.ab-hero {
    padding: 15rem 0 5rem;
    position: relative;
    z-index: 10;
}

.ab-intro-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 6rem;
    flex-wrap: nowrap;
}

.ab-photo {
    flex-shrink: 0;
    width: clamp(240px, 18vw, 280px);
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ab-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-intro-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 3.2rem);
    line-height: 1.1;
    text-transform: uppercase;
    max-width: 650px;
    margin-bottom: 0;
}

.ab-intro-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ab-intro-body p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2.5rem;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.3s ease;
}

.ab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.ab-btn:hover::before {
    transform: translateY(0);
}

.ab-btn:hover {
    color: #000;
    border-color: #fff;
}

.ab-btn span {
    position: relative;
    z-index: 1;
}

/* Section 2: Logos Ticker */
.ab-logos-section {
    padding: 3rem 0;
    position: relative;
    z-index: 10;
    background-color: #fcfcfc;
}

.ab-logos-label {
    text-align: center;
    margin-bottom: 2rem;
}

.ab-logos-label .section-label {
    color: #000000;
}

.section-divider {
    display: block;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.3em;
}



/* Section 3: Quote */
.ab-quote-section {
    padding: 15rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    background-color: #000;
}

.ab-quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/helosyams - syamsbranding - sitting on the chair.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.35;
    z-index: -1;
}

.ab-quote {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ab-quote p {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 60px);
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.ab-quote cite {
    display: block;
    font-style: normal;
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Section 4: Milestones / Track Record */
.ab-facts-section {
    padding: 10rem 0;
    background-color: #fcfcfc;
    color: #1a1a1a;
    position: relative;
    z-index: 10;
}

.ab-facts-label {
    text-align: center;
    margin-bottom: 5rem;
}

.ab-facts-label .section-divider {
    color: rgba(0, 0, 0, 0.15);
}

.ab-facts-label .section-label {
    color: #1a1a1a;
}

.ab-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.ab-fact {
    text-align: center;
    padding: 4rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.02);
}

.ab-fact:hover {
    border-color: rgba(0, 0, 0, 0.1);
    background: #ffffff;
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.ab-fact-number,
.ab-fact-plus,
.ab-fact-suffix {
    color: #1a1a1a;
    font-family: var(--font-heading);
    transition: color 0.4s ease;
}

.ab-fact:hover .ab-fact-number,
.ab-fact:hover .ab-fact-plus,
.ab-fact:hover .ab-fact-suffix {
    color: var(--accent-color);
}

.ab-fact-number {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    display: inline;
}

.ab-fact-plus,
.ab-fact-suffix {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.ab-fact h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 1.5rem 0 1rem;
    color: #1a1a1a;
}

.ab-fact p {
    font-size: 1rem;
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.7;
}

/* Section 5: FAQ Accordion */
.ab-faq-section {
    padding: 6rem 0 10rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 10;
}

.ab-faq-section .section-label {
    margin-bottom: 4rem;
}

.ab-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.ab-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ab-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.15rem;
    padding: 2rem 0;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.ab-faq-q:hover {
    color: var(--accent-color);
}

.ab-faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-left: 2rem;
    transition: transform 0.3s ease;
}

.ab-faq-item.is-open .ab-faq-icon {
    transform: rotate(45deg);
}

.ab-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
    padding: 0 0;
}

.ab-faq-item.is-open .ab-faq-a {
    max-height: 300px;
    padding: 0 0 2rem 0;
}

.ab-faq-a p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 85%;
}

/* About Responsive */
@media (max-width: 768px) {
    .ab-intro-header {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        margin-bottom: 3rem;
    }

    .ab-intro-text h1 {
        max-width: 100%;
    }

    .ab-photo {
        width: 180px;
    }

    .ab-intro-body {
        grid-template-columns: 1fr;
    }

    .ab-facts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ab-quote-section {
        padding: 6rem 0;
    }
}

/* ========== CONTACT PAGE ========== */
.ct-section {
    padding: 15rem 0 10rem;
    position: relative;
    z-index: 10;
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: start;
}

.ct-form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 992px) {
    .ct-form-columns {
        grid-template-columns: 1fr;
    }
}

.ct-headline h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.ct-headline h1 .ct-title-main {
    display: block;
    margin-bottom: 0.2em;
}

.ct-headline h1 .ct-title-sub {
    display: block;
    font-size: 0.618em;
    /* Golden Ratio (1/1.618) */
    opacity: 0.7;
    text-transform: none;
    /* More readable for long sentences */
    line-height: 1.4;
    font-family: var(--font-body);
    font-weight: 400;
}


.ct-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ct-contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.ct-contact-info a:hover {
    color: var(--accent-color);
}

/* Currency Toggle */
.ct-currency-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ct-curr-btn {
    background: transparent;
    border: 1px solid rgba(252, 252, 252, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.ct-curr-btn:hover {
    border-color: rgba(252, 252, 252, 0.3);
    color: var(--text-primary);
}

.ct-curr-btn.is-active {
    background: #fcfcfc;
    color: #000000;
    border-color: #fcfcfc;
}

.ct-budget-group {
    transition: opacity 0.3s ease;
}

/* Steps */
.ct-step {
    margin-bottom: 4rem;
}

.ct-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.5rem;
}

.ct-label-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Option Buttons (Interest, Budget, Time) */
.ct-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ct-option-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.1s ease;
    /* Faster color transition */
    white-space: nowrap;
}

/* Slide-up pseudo-element hover effect */
.ct-option-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fcfcfc;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.ct-option-btn:hover::before {
    transform: translateY(0);
}

.ct-option-btn:hover {
    color: #000000 !important;
    background-color: #fcfcfc !important;
    border-color: #fcfcfc !important;
}

.ct-option-btn:hover * {
    color: #000000 !important;
}

.ct-option-btn span {
    position: relative;
    z-index: 2;
    /* Higher than the ::before background */
    display: block;
    pointer-events: none;
}

.ct-option-btn {
    position: relative;
    z-index: 1;
}

/* Active/selected state */
.ct-option-btn.is-active {
    background-color: #fcfcfc !important;
    color: #000000 !important;
    border-color: #fcfcfc !important;
}

.ct-option-btn.is-active * {
    color: #000000 !important;
}

.ct-option-btn.is-active::before {
    transform: translateY(0);
}

/* Calendar */
.ct-calendar {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 0.5rem;
}

.ct-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ct-cal-month {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 0.02em;
}

.ct-cal-nav {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.ct-cal-nav:hover {
    background: #fff;
    color: #000;
}

.ct-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ct-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.ct-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
}

.ct-cal-day:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ct-cal-day.is-today {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.ct-cal-day.is-selected {
    background: #fcfcfc;
    color: #000000;
    font-weight: 600;
}

.ct-cal-day.is-past {
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.ct-cal-day.is-empty {
    pointer-events: none;
}

/* Time Slots */
.ct-time-options {
    gap: 0.5rem;
}

/* Input Fields (Floating Label) */
.ct-input-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ct-field {
    position: relative;
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fcfcfc;
    font-family: var(--font-body);
    font-size: 1.1rem;
    padding: 1.2rem 0 0.8rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.ct-field textarea {
    resize: vertical;
    --nav-height: 80px;
}

/* ========== LENIS SMOOTH SCROLL RESET ========== */
html {
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-bottom-color: #fcfcfc;
}

.ct-field label {
    position: absolute;
    left: 0;
    top: 1.2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ct-field input:focus~label,
.ct-field input:not(:placeholder-shown)~label,
.ct-field textarea:focus~label,
.ct-field textarea:not(:placeholder-shown)~label {
    top: -0.2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
}

/* Submit Button */
.ct-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fcfcfc;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 1.2rem 3rem;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.3s ease;
    margin-top: 2rem;
}

.ct-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fcfcfc;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.ct-submit-btn:hover::before {
    transform: translateY(0);
}

.ct-submit-btn:hover {
    color: #000;
    border-color: #fff;
}

.ct-submit-text,
.ct-submit-arrow {
    position: relative;
    z-index: 1;
}

.ct-submit-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.ct-submit-btn:hover .ct-submit-arrow {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .ct-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ct-section {
        padding: 10rem 0 5rem;
    }

    .ct-calendar {
        padding: 1.2rem;
    }
}

/* ========== CINEMATIC FADE TRANSITION ========== */
.monolith-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 200000;
    /* Higher than nav-overlay (100000) and nav-close (100001) */
    pointer-events: none;
    opacity: 0;
    /* Hidden by default */
}

/* Modifier when a page loads with fade already covering it */
.monolith-transition.is-active {
    opacity: 1;
    /* Darkens the screen to reveal page via fade */
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(252, 252, 252, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(252, 252, 252, 0.8);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(252, 252, 252, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Passes clicks to elements behind */
    z-index: 2000000;
    visibility: hidden;
    /* Hidden by default until hovered */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center center;
}

.custom-cursor .cursor-icon {
    width: 22px;
    height: 22px;
}

/* Hide default cursor on slide hover */
.brandfolio-slide {
    cursor: none !important;
}

/* ================================================================
   MOBILE RESPONSIVE — CONSOLIDATED MEDIA QUERIES
   Non-destructive: Desktop CSS above remains untouched.
   ================================================================ */

/* ======================== TABLET LANDSCAPE (≤1024px) ======================== */
@media (max-width: 1024px) {

    /* --- Navbar --- */
    .logo-img {
        height: 55px;
    }

    .nav-actions {
        gap: 1.2rem;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: 5vw;
        max-width: 60vw;
    }

    .hero-roles-new p,
    .hero-location-text p {
        font-size: 26px !important;
    }

    .hero-location-icon {
        width: 45px;
        height: 45px;
    }

    /* --- Services --- */
    .service-item {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }

    .sticky-number {
        font-size: 160px;
    }

    .service-title {
        font-size: 42px;
    }

    /* --- Brandfolio Cards (Homepage) --- */
    .brandfolio-slide {
        height: 70vh;
        top: 70px !important;
    }

    .brandfolio-details {
        padding: 3rem 3rem 3rem 2.5rem;
    }

    .brandfolio-title {
        font-size: 42px;
    }

    .brandfolio-desc {
        font-size: 1rem;
        max-width: 100%;
    }



    /* --- Tagline --- */
    .tagline-line {
        font-size: 45px;
    }

    .tagline-logo {
        height: 90px;
    }

    /* --- About Page --- */
    .ab-intro-header {
        gap: 3rem;
    }

    /* --- Contact Page --- */
    .ct-grid {
        gap: 4rem;
    }

    /* --- Brandfolio Split --- */
    .bf-split-link {
        font-size: 110px;
        letter-spacing: -3px;
    }

    /* --- Horizontal Scroll Gallery --- */
    .bf-hs-item {
        width: 85vw;
    }

    /* --- Case Study More Grid --- */
    .more-bf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======================== TABLET PORTRAIT (≤768px) ======================== */
@media (max-width: 768px) {

    /* Hero Section Mobile Cleanup */
    .hero-section {
        height: 100vh !important;
        height: 100svh !important;
        display: block !important;
        /* Matikan Flexbox Desktop */
        position: relative !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    .hero-container {
        display: block !important;
        /* Matikan Flexbox */
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-bg-photo {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: 75% auto !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        z-index: 1 !important;
    }

    /* Judul: Diturunkan mendekati informasi bawah (12% dari bawah) */
    .hero-title {
        position: absolute !important;
        bottom: calc(20svh + 35px) !important;
        /* Dinaikkan 35px dari posisi sebelumnya */
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 2.6rem !important;
        width: 90% !important;
        text-align: center !important;
        z-index: 10 !important;
        display: block !important;
        margin: 0 !important;
        color: #fcfcfc !important;
    }

    /* Roles: Paksa ke Dasar (Gunakan kelas spesifik) */
    .hero-roles,
    .hero-roles-left {
        position: absolute !important;
        bottom: 2svh !important;
        left: 5% !important;
        top: auto !important;
        right: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        z-index: 10 !important;
        width: auto !important;
        font-size: 0.65rem !important;
        transform: none !important;
        /* Matikan paksa geseran JS */
    }

    /* Location: Paksa ke Dasar (Gunakan kelas spesifik) */
    .hero-location,
    .hero-location-right {
        position: absolute !important;
        bottom: 2svh !important;
        right: 5% !important;
        top: auto !important;
        left: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        z-index: 10 !important;
        width: auto !important;
        font-size: 0.65rem !important;
        transform: none !important;
        /* Matikan paksa geseran JS */
    }

    .hero-location-text {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .hero-location-text p {
        margin: 0;
    }

    .navbar {
        padding: 1.2rem 5%;
        background: transparent !important;
        backdrop-filter: none !important;
        z-index: 1000000 !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: 0.8rem;
    }

    .lang-toggle {
        display: flex !important;
        gap: 0.5rem;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lang-toggle button {
        width: 24px !important;
        /* Ukuran lebih kecil dan elegan */
        height: 18px !important;
        opacity: 0.6;
        display: flex !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .lang-toggle button.active {
        opacity: 1 !important;
    }

    /* --- Identity / Tagline Section Mobile --- */
    .about-tagline {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        /* Perfect Center-Center on Mobile! */
        opacity: 1;
        width: 100% !important;
    }

    .identity-container {
        display: flex !important;
        flex-direction: row !important;
        /* Tetap bersebelahan */
        align-items: center !important;
        justify-content: center !important;
        padding: 0 5%;
        gap: 0;
        /* Start with no gap, GSAP will animate this */
        width: 100% !important;
    }

    .identity-logo-wrapper {
        width: auto !important;
        height: auto !important;
    }

    .identity-logo {
        width: 45px !important;
        height: auto !important;
        /* Paksa auto agar mengikuti lebar */
        min-width: 0 !important;
        /* Matikan batas minimal 120px */
        object-fit: contain;
    }

    .identity-line {
        font-size: 1.2rem !important;
        /* Ukuran teks lebih mungil agar tidak patah baris */
        line-height: 1.2;
    }

    .burger-bars span {
        width: 20px;
    }

    /* --- Nav Overlay --- */
    .nav-link {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .nav-close {
        top: 1.5rem;
    }

    /* --- Hero Section --- */
    .hero-container {
        padding: 10vh 5% 4vh;
    }

    .hero-title {
        font-size: 8vw;
        max-width: 90vw;
        white-space: normal;
        bottom: 4%;
    }

    .hero-meta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-roles-new p,
    .hero-location-text p {
        font-size: 20px !important;
    }

    .hero-roles-new {
        height: auto;
        gap: 0.2rem;
    }

    .hero-location-box {
        position: absolute;
        top: 70%;
        left: 5%;
        right: auto;
        transform: translateY(-50%);
        text-align: left;
        align-items: flex-end;
        height: auto;
        gap: 0.5rem;
    }

    .hero-location-icon {
        width: 35px;
        height: 35px;
    }

    /* --- About / Text Reveal --- */
    .about-section {
        padding: 6rem 0;
    }

    .about-text {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
    }

    /* --- Tagline Storytelling --- */
    .tagline-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .tagline-line {
        font-size: clamp(24px, 7vw, 36px);
    }

    .tagline-logo {
        height: 70px;
    }

    .intro-tagline {
        padding: 0 5%;
    }

    /* --- Services Section --- */
    .services-section {
        padding: 5rem 0 3rem;
    }

    .services-list-container {
        gap: 5rem;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .service-item-left {
        text-align: left;
    }

    .sticky-number {
        position: relative;
        top: auto;
        font-size: 100px;
        margin-bottom: 1rem;
    }

    .service-title {
        font-size: 32px;
    }

    .service-desc {
        font-size: 1rem;
    }

    /* --- Brandfolio Cards (Homepage) --- */
    .brandfolio-slide {
        grid-template-columns: 1fr;
        height: auto;
        border-radius: 16px;
        top: 70px !important;
    }

    .brandfolio-image {
        height: 45vh;
        min-height: 280px;
    }

    .brandfolio-details {
        padding: 2rem 1.5rem 2.5rem;
    }

    .brandfolio-title {
        font-size: 32px;
    }

    .brandfolio-year {
        margin-bottom: 1rem;
    }

    .brandfolio-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .brandfolio-scope h4 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        margin-top: 1.5rem;
    }

    .brandfolio-scope ul li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }

    .brandfolio-track {
        padding: 0 4%;
        gap: 3rem;
        /* Reset jeda besar di mobile agar lebih compact */
    }

    /* --- Logo Carousel --- */
    .logo-carousel-section {
        padding: 1.2rem 0;
        /* Dikurangi agar lebih pendek (sebelumnya 3rem) */
        margin-top: 1rem;
    }

    .logo-carousel-track {
        gap: 35px !important;
        /* Jarak antar gambar 35px */
    }

    .logo-item {
        height: 65px !important;
        /* Buat sedikit lebih besar (sebelumnya 50px) */
        padding: 0 !important;
    }

    /* --- Testimonials --- */
    .testi-section {
        min-height: 100svh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 2rem 0 !important;
    }

    .testi-section .section-label {
        margin-bottom: 1rem !important;
        /* Rapatkan label ke judul */
        margin-top: 0 !important;
    }

    .testi-header {
        margin-bottom: 0 !important;
        /* Hilangkan jarak bawah judul */
        padding-bottom: 0 !important;
    }

    .testi-title {
        margin-bottom: 0.5rem !important;
        /* Sangat rapat ke kartu */
        padding-bottom: 0 !important;
    }

    .testi-layout {
        gap: 0 !important;
    }

    .testi-stack {
        height: 420px;
        margin-top: -0.5rem !important;
        /* Diturunkan dari sebelumnya agar tidak terlalu mepet judul */
        /* Increased for mobile long quotes */
    }

    .testi-card {
        padding: 1.5rem 2rem;
        width: 95%;
        min-height: 320px;
        /* Increased from 180px */
    }

    .testi-quote {
        font-size: 0.95rem;
    }

    .testi-image {
        width: 50px;
        height: 50px;
    }

    .testi-footer-row {
        padding-top: 0.5rem !important;
        margin-top: 0 !important;
        /* Reset margin top agar bisa diatur lewat transform individu */
    }

    .testi-nav {
        transform: translateY(-40px) !important;
        /* Angkat tombol navigasi 40px */
    }

    /* Kembalikan ke posisi normal dengan jarak aman */
    .testi-more-link {
        display: inline-block !important;
        margin-top: 2rem !important;
        /* Beri jarak aman dari tumpukan kartu */
        position: static !important;
        top: auto !important;
        transform: none !important;
        z-index: 10 !important;
    }

    /* --- Footer & Marquee --- */
    .footer-hero-section {
        min-height: 100vh;
    }

    .footer-hero-section .footer-bg {
        background-attachment: scroll;
        /* Fix iOS Safari bug */
    }

    .marquee-track span {
        font-size: 2.5rem;
    }

    .footer-section {
        padding: 2rem 0;
    }

    .footer-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        /* Kolom 1: Lokasi, Kolom 2: Kontak */
        align-items: end;
        /* Menyejajarkan dari bawah */
        gap: 2rem 1rem;
        padding-bottom: 3rem;
    }

    .footer-info {
        display: contents;
        /* Membongkar pembungkus agar h3 dan p bisa masuk grid secara terpisah */
    }

    .footer-info h3 {
        grid-column: 1 / -1;
        /* Judul memenuhi atas */
        font-size: 1.5rem;
        margin-top: 35px !important;
        /* Turunkan Syams Branding 35px */
        margin-bottom: 0 !important;
        text-align: left;
    }

    /* Teks "Based in..." (Kiri) */
    .footer-info p {
        grid-column: 1;
        grid-row: 2;
        font-size: 0.85rem;
        line-height: 1.6 !important;
        margin: 0 !important;
        margin-top: 25px !important;
        /* Beri jarak 25px dari judul Syams Branding */
        text-align: left;
        opacity: 0.8;
    }

    /* Area Kontak (Kanan) */
    .footer-contact {
        grid-column: 2;
        grid-row: 2;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right;
        gap: 0 !important;
        margin: 0 !important;
        margin-top: 25px !important;
        /* Beri jarak 25px dari judul Syams Branding agar tetap lurus dengan kiri */
    }

    .footer-contact a {
        font-size: 0.85rem;
        line-height: 1.6 !important;
        /* Harus sama dengan <p> agar lurus */
        text-decoration: none;
        white-space: nowrap;
    }

    /* --- Case Study Hero --- */
    .cs-hero-full {
        height: 100vh;
        height: 100svh;
    }

    /* --- Case Study Grid --- */
    .cs-content-section {
        padding: 4rem 8%;
        margin-top: 0;
    }

    .cs-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cs-sticky-col {
        position: relative;
        top: 0;
    }

    .cs-sticky-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .cs-text {
        font-size: 1.1rem;
    }

    /* --- Parallax Gallery --- */
    .prl-item {
        height: 50vh;
    }

    .cs-parallax-gallery {
        padding-bottom: 4rem;
    }

    /* --- More Brandfolio Grid --- */
    .cs-more-brandfolio {
        padding: 5rem 0;
    }

    .more-bf-header {
        margin-bottom: 3rem;
    }

    .more-bf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .more-bf-meta h4 {
        font-size: 1.1rem;
    }

    .more-bf-meta span {
        font-size: 0.85rem;
    }

    /* --- Brandfolio Pages Header --- */
    .pg-header {
        padding: 10rem 0 3rem;
    }

    .pg-title {
        font-size: clamp(3rem, 12vw, 6rem);
    }

    /* --- Brandfolio Split Hero --- */
    .bf-split-link {
        font-size: clamp(3rem, 14vw, 6rem);
        letter-spacing: -2px;
    }

    .bf-split-hero-img {
        height: 50vh;
        max-height: 400px;
    }

    .bf-split-subtitle {
        margin-top: 3rem;
        transform: translateY(3rem);
        font-size: 0.85rem;
    }

    /* --- Horizontal Scroll Gallery --- */
    .bf-hs-container {
        height: 100svh !important;
        /* Pastikan tetap setinggi layar agar konten bisa di tengah */
        padding-left: 4vw;
    }

    .bf-hs-item {
        width: 90vw;
        height: auto;
        min-height: 70vh;
        margin-right: 5vw;
    }

    .bf-hs-item .brandfolio-slide {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bf-hs-item .brandfolio-image {
        height: 35vh;
        min-height: 220px;
    }

    .bf-hs-item .brandfolio-image img {
        object-position: center bottom;
    }

    .bf-hs-item .brandfolio-details {
        padding: 1.5rem;
    }

    .bf-hs-item .brandfolio-title {
        font-size: 28px;
    }

    /* --- About Page --- */
    .ab-hero {
        padding: 10rem 0 3rem;
    }

    .ab-intro-header {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-bottom: 3rem;
    }

    .ab-intro-text h1 {
        max-width: 100%;
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .ab-photo {
        width: 160px;
    }

    .ab-intro-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ab-quote-section {
        padding: 5rem 0;
    }

    .ab-quote p {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .ab-facts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ab-fact {
        padding: 2rem 1.5rem;
    }

    .ab-fact-number {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .ab-faq-q {
        font-size: 1rem;
        padding: 1.5rem 0;
    }

    /* --- Contact Page --- */
    .ct-section {
        padding: 10rem 0 4rem;
    }

    .ct-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ct-headline h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin-bottom: 2rem;
    }

    .ct-calendar {
        padding: 1.2rem;
    }

    .ct-submit-btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }

    /* --- Custom Cursor: Hide on touch devices --- */
    .custom-cursor {
        display: none !important;
    }

    .brandfolio-slide {
        cursor: pointer !important;
    }
}

/* ======================== SMARTPHONE (≤480px) ======================== */
@media (max-width: 480px) {

    /* --- Navbar --- */
    .navbar {
        padding: 0.8rem 4%;
    }

    .logo-img {
        height: 38px;
    }

    .logo,
    .lang-toggle button,
    .menu-btn {
        padding: 0.3rem 0.6rem;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: 10vw;
        max-width: 95vw;
        bottom: 3%;
        left: 4%;
    }

    .hero-container {
        padding: 9vh 4% 3vh;
    }

    .hero-meta {
        gap: 0.5rem;
    }

    .hero-year h3 {
        font-size: 0.85rem;
    }

    .hero-roles-new p,
    .hero-location-text p {
        font-size: 16px !important;
    }

    .hero-location-box {
        left: 4%;
        top: 70%;
    }

    /* --- About / Text Reveal --- */
    .about-text {
        font-size: clamp(1.2rem, 5.5vw, 1.8rem);
    }

    /* --- Services --- */
    .services-section {
        padding: 4rem 0 2rem;
    }

    .services-list-container {
        gap: 3rem;
    }

    .sticky-number {
        font-size: 72px;
    }

    .service-title {
        font-size: 26px;
    }

    .service-desc {
        font-size: 0.9rem;
    }

    .service-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    /* --- Brandfolio Cards --- */
    .brandfolio-image {
        height: 35vh;
        min-height: 220px;
    }

    .brandfolio-details {
        padding: 1.5rem 1.2rem 2rem;
    }

    .brandfolio-title {
        font-size: 26px;
    }

    .brandfolio-desc {
        font-size: 0.85rem;
    }

    .brandfolio-slide {
        border-radius: 12px;
    }



    /* --- Footer --- */
    .footer-hero-section {
        min-height: 100vh;
    }

    .marquee-track span {
        font-size: 1.8rem;
        padding-right: 1rem;
    }

    .footer-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .footer-info p {
        font-size: 0.85rem;
    }

    .footer-contact a {
        font-size: 0.9rem;
    }

    .footer-section {
        padding: 1.5rem 0;
    }

    /* --- Case Study --- */
    .cs-hero-full {
        height: 100vh;
        height: 100svh;
    }

    .cs-content-section {
        padding: 3rem 4%;
    }

    .cs-sticky-title {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
    }

    .cs-text {
        font-size: 1rem;
    }

    .cs-section-title {
        font-size: 0.85rem;
    }

    .cs-overview-meta ul li {
        font-size: 1rem;
    }

    /* --- Parallax --- */
    .prl-item {
        height: 35vh;
    }

    /* --- More Brandfolio --- */
    .cs-more-brandfolio {
        padding: 3rem 0;
    }

    .more-bf-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .more-bf-image {
        border-radius: 10px;
    }

    /* --- Brandfolio Pages --- */
    .pg-header {
        padding: 8rem 0 2rem;
    }

    .pg-title {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .pg-subtitle {
        font-size: 1rem;
    }

    /* --- Brandfolio Split --- */
    .bf-split-link {
        font-size: clamp(2.5rem, 15vw, 4rem);
        letter-spacing: -1px;
    }

    .bf-split-hero {
        padding-top: 12vh;
    }

    .bf-split-hero-img {
        height: 40vh;
        max-height: 300px;
    }

    .bf-split-subtitle {
        margin-top: 2rem;
        transform: translateY(2rem);
        font-size: 0.75rem;
        text-align: center;
        padding: 0 5%;
    }

    /* --- Horizontal Scroll --- */
    .bf-hs-item {
        width: 92vw;
        margin-right: 4vw;
    }

    .bf-hs-item .brandfolio-image {
        height: 30vh;
        min-height: 200px;
    }

    .bf-hs-item .brandfolio-details {
        padding: 1.2rem;
    }

    .bf-hs-item .brandfolio-title {
        font-size: 24px;
    }

    .bf-hs-item .brandfolio-desc {
        font-size: 0.85rem;
    }

    /* --- About Page --- */
    .ab-hero {
        padding: 8rem 0 2rem;
    }

    .ab-photo {
        width: 140px;
    }

    .ab-intro-text h1 {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    }

    .ab-intro-body p {
        font-size: 0.95rem;
    }

    .ab-btn {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }

    .ab-quote-section {
        padding: 3rem 0;
    }

    .ab-facts-section {
        padding: 3rem 0 5rem;
    }

    .ab-fact-number {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .ab-fact-plus,
    .ab-fact-suffix {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .ab-fact h3 {
        font-size: 0.9rem;
    }

    .ab-fact p {
        font-size: 0.85rem;
    }

    .ab-faq-q {
        font-size: 0.9rem;
        padding: 1.2rem 0;
    }

    .ab-faq-icon {
        font-size: 1.2rem;
        margin-left: 1rem;
    }

    .ab-faq-a p {
        font-size: 0.85rem;
    }

    /* --- Contact Page --- */
    .ct-section {
        padding: 8rem 0 3rem;
    }

    .ct-headline h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .ct-contact-info a {
        font-size: 0.95rem;
    }

    .ct-label {
        font-size: 0.7rem;
    }

    .ct-option-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }

    .ct-cal-month {
        font-size: 1.2rem;
    }

    .ct-cal-nav {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .ct-cal-day {
        font-size: 0.8rem;
    }

    .ct-field input,
    .ct-field textarea {
        font-size: 1rem;
    }

    .ct-field label {
        font-size: 1rem;
    }

    .ct-submit-btn {
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }

    /* --- Marquee (Section di dalam footer) --- */
    .marquee-section {
        padding: 2rem 0;
    }
}

/* ================================================================
   HERO SECTION — NEW LAYOUT (hero-photo.webp full-screen)
   - Roles: left-center, stacked vertically
   - Location: right-center, aligned to same span as roles
   - Title: bottom-left, elevated from edge
   ================================================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* --- Full-screen background photo --- */
.hero-bg-photo {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/hero-photo.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transform-origin: center;
    will-change: transform;
    /* subtle parallax handled by GSAP */
}

/* --- Overlay: Transparent/White (Removing dark side vignette) --- */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    /* Clean image look */
    z-index: 1;
}

/* ---- LEFT CENTER: Roles ---- */
/* Each row: font-size * line-height(1) + padding(0.75em top + 0.75em bottom) */
/* Total height for 3 rows = 3 × (1em lineheight + 1.5em padding) = 7.5em approx */
.hero-roles-left {
    position: absolute;
    left: 5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    /* Pin exact height so location-right can mirror it */
    --hero-row-pad: 0.75em;
    --hero-font-size: clamp(1.1rem, 1.6vw, 1.5rem);
}

.hero-role-item {
    display: block;
    font-family: 'Aspekta 700', sans-serif;
    /* Bold as requested */
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    /* Slightly larger */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cc0000;
    /* Red text */
    font-weight: 700;
    line-height: 1;
    padding: 0.3em 0;
    white-space: nowrap;
}

.hero-role-item:not(:last-child) {
    border-bottom: none;
}

/* ---- RIGHT CENTER: Location ---- */
/* Mirrors exact height of .hero-roles-left: 3 rows × (1em + 2×0.75em padding) */
.hero-location-right {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    z-index: 10;
}

.hero-location-icon {
    color: #cc0000;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    /* Match role font-size */
    /* Match the height of a role row (font + 0.6em padding) */
    height: calc(1em + 0.6em);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
    border-bottom: none;
}

.hero-location-icon svg {
    width: clamp(1.4rem, 2.2vw, 2.2rem);
    /* Enlarged size */
    height: auto;
}

.hero-location-right .hero-location-label {
    display: block;
    font-family: 'Aspekta 700', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    /* Sync with roles */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cc0000;
    font-weight: 700;
    line-height: 1;
    padding: 0.3em 0;
    /* Tightened spacing */
    border-bottom: none;
}

.hero-location-right .hero-location-city {
    display: block;
    font-family: 'Aspekta 700', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    /* Sync with roles */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cc0000;
    font-weight: 700;
    line-height: 1;
    padding: 0.3em 0;
    /* Tightened spacing */
}

/* ---- BOTTOM LEFT: Syams Branding title ---- */
.hero-title-bottom {
    position: absolute;
    left: 5vw;
    bottom: 5vh;
    /* Lower but not offside */
    z-index: 2;
    font-family: 'Aspekta 700', sans-serif;
    font-size: clamp(3rem, 7vw, 7.5rem);
    /* Slightly smaller to prevent offside */
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #cc0000;
    /* Red text */
    line-height: 0.85;
    margin: 0;
    pointer-events: none;
}


/* --- Running Text / Marquee Section --- */
.running-text-section {
    background-color: #000;
    padding: 6rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.running-text-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: runningText 40s linear infinite;
}

.running-text-track span {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    padding: 0 2.5rem;
}

.running-text-track .dot-divider {
    color: var(--accent-color);
    font-weight: 700;
}

@keyframes runningText {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ========== CONTACT PAGE LIGHT THEME OVERRIDE ========== */
.contact-page {
    background-color: #EDEDED !important;
    color: #131313 !important;
}

.contact-page .navbar .logo-img {
    filter: none;
    /* Ensure color logo is visible */
}

.contact-page .navbar .burger-bars span {
    background-color: #131313;
}

.contact-page .navbar .lang-toggle button {
    opacity: 0.5;
}

.contact-page .navbar .lang-toggle button.active {
    opacity: 1;
}

.contact-page .ct-label {
    color: rgba(19, 19, 19, 0.6) !important;
}

.contact-page .ct-label-sub {
    color: rgba(19, 19, 19, 0.5) !important;
}

.contact-page .ct-field input,
.contact-page .ct-field textarea {
    color: #131313 !important;
    border-bottom-color: rgba(19, 19, 19, 0.2) !important;
}

.contact-page .ct-field input:focus,
.contact-page .ct-field textarea:focus {
    border-bottom-color: #131313 !important;
}

.contact-page .ct-field label {
    color: rgba(19, 19, 19, 0.4) !important;
}

.contact-page .ct-field input:focus~label,
.contact-page .ct-field input:not(:placeholder-shown)~label,
.contact-page .ct-field textarea:focus~label,
.contact-page .ct-field textarea:not(:placeholder-shown)~label {
    color: rgba(19, 19, 19, 0.7) !important;
}

.contact-page .ct-option-btn {
    border-color: rgba(19, 19, 19, 0.15) !important;
    color: rgba(19, 19, 19, 0.8) !important;
}

.contact-page .ct-option-btn:hover {
    background-color: #131313 !important;
    color: #EDEDED !important;
    border-color: #131313 !important;
}

.contact-page .ct-option-btn.is-active {
    background-color: #131313 !important;
    color: #EDEDED !important;
    border-color: #131313 !important;
}

.contact-page .ct-curr-btn {
    border-color: rgba(19, 19, 19, 0.1) !important;
    color: rgba(19, 19, 19, 0.6) !important;
}

.contact-page .ct-curr-btn.is-active {
    background: #131313 !important;
    color: #EDEDED !important;
    border-color: #131313 !important;
}

/* Calendar Light Mode */
.contact-page .ct-calendar {
    border-color: rgba(19, 19, 19, 0.1) !important;
}

.contact-page .ct-cal-month {
    color: #131313 !important;
}

.contact-page .ct-cal-nav {
    border-color: rgba(19, 19, 19, 0.15) !important;
    color: #131313 !important;
}

.contact-page .ct-cal-nav:hover {
    background: #131313 !important;
    color: #EDEDED !important;
}

.contact-page .ct-cal-weekdays {
    color: rgba(19, 19, 19, 0.4) !important;
    border-bottom-color: rgba(19, 19, 19, 0.05) !important;
}

.contact-page .ct-cal-day {
    color: rgba(19, 19, 19, 0.7) !important;
}

.contact-page .ct-cal-day:hover {
    background: rgba(19, 19, 19, 0.05) !important;
    color: #131313 !important;
}

.contact-page .ct-cal-day.is-selected {
    background: #131313 !important;
    color: #EDEDED !important;
}

.contact-page .ct-cal-day.is-today {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

.contact-page .ct-submit-btn {
    border-color: rgba(19, 19, 19, 0.2) !important;
    color: #131313 !important;
}

.contact-page .ct-submit-btn::before {
    background: #131313 !important;
}

.contact-page .ct-submit-btn:hover {
    color: #EDEDED !important;
}



/* ========== FLOATING SECTION TITLES ========== */
.sticky-section-wrapper {
    position: relative;
    width: 100%;
}

.section-floating-title {
    position: sticky;
    top: 15vh;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 10;
    pointer-events: none;
    float: left;
    overflow: visible;
}

.section-floating-title span {
    display: inline-block;
    margin-left: 5%;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

/* ========== IFRAME POPUP MODAL (FROM BRANDFOLIO-WEB) ========== */
.bfw-iframe-modal {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.bfw-iframe-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bfw-iframe-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
    z-index: 0;
}

/* Close button in its own row - physically above the iframe */
.bfw-iframe-close {
    position: relative;
    z-index: 10;
    align-self: flex-end;
    margin: 22px 20px 8px 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #cc0000;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.bfw-iframe-modal.is-open .bfw-iframe-close {
    opacity: 1;
    pointer-events: auto !important;
}

.bfw-iframe-close:hover {
    background: #fcfcfc;
    color: #131313;
}

.bfw-iframe-close svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.bfw-iframe-container {
    position: relative;
    width: 96vw;
    flex: 1;
    max-width: 100%;
    background: #fff;
    border: none;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.9);
    transform: scale(0.98) translateY(10px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    z-index: 1;
}

.bfw-iframe-modal.is-open .bfw-iframe-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#project-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #fcfcfc;
}

.bfw-iframe-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bfw-iframe-loader.is-hidden {
    opacity: 0;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(252, 252, 252, 0.08);
    border-top-color: #fcfcfc;
    border-radius: 50%;
    animation: bfwSpin 0.9s linear infinite;
}

@keyframes bfwSpin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Contact Form Utilities --- */
.ct-budget-group.is-hidden {
    display: none;
}

.ct-submit-container {
    text-align: right;
    margin-top: 2rem;
    padding-bottom: 2rem;
}




/* ========== EDITORIAL FOOTER (The Meaning Layer Style) ========== */
.footer-hero-section {
    background-color: #131313;
    color: #131313;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-hero-section .footer-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/images/footer-photo.webp') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

/* Base marquee section */
.marquee-section {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer-hero-section .marquee-section.footer-marquee-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0;
    mix-blend-mode: difference;
    /* Efek teks negatif pada foto cerah */
}

.footer-hero-section .footer-marquee span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    padding-right: 2rem;
}

.footer-hero-section .footer-section {
    position: relative;
    padding: 2rem 5% 2rem;
    z-index: 3;
}

/* Override for specific pages that had different padding in inline styles */
.footer-hero-section .footer-section-alt {
    padding: 2rem 0 2rem;
}

.footer-hero-section .footer-layout {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-hero-section .footer-info h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
}

.footer-hero-section .footer-info p {
    color: #131313;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.footer-hero-section .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-hero-section .footer-contact a {
    color: #131313;
    text-decoration: none;
    font-size: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.footer-hero-section .copyright-bar {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: rgba(19, 19, 19, 0.6);
    border-top: 1px solid rgba(19, 19, 19, 0.1);
}

.footer-hero-section .copyright-right a {
    color: inherit;
    text-decoration: underline;
    border-color: #fcfcfc;
    transform: rotate(90deg);
}

.bfw-iframe-close svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

#project-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #fcfcfc;
}

.bfw-iframe-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bfw-iframe-loader.is-hidden {
    opacity: 0;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(252, 252, 252, 0.08);
    border-top-color: #fcfcfc;
    border-radius: 50%;
    animation: bfwSpin 0.9s linear infinite;
}

@keyframes bfwSpin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Contact Form Utilities --- */
.ct-budget-group.is-hidden {
    display: none;
}

.ct-submit-container {
    text-align: right;
    margin-top: 2rem;
    padding-bottom: 2rem;
}





@media (max-width: 768px) {
    .footer-hero-section .footer-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        text-align: left;
        gap: 0;
        width: 100%;
        padding: 0 5%;
    }

    .footer-hero-section .footer-info {
        display: contents;
    }

    .footer-hero-section .footer-info h3 {
        grid-column: 1 / -1;
        font-size: 1.5rem;
        margin-top: 35px !important;
        margin-bottom: 0 !important;
        text-align: left;
    }

    .footer-hero-section .footer-info p {
        grid-column: 1;
        grid-row: 2;
        font-size: 0.85rem;
        line-height: 1.6 !important;
        margin: 0 !important;
        margin-top: 25px !important;
        text-align: left;
        color: #131313;
    }

    .footer-hero-section .footer-contact {
        grid-column: 2;
        grid-row: 2;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        margin: 0 !important;
        margin-top: 25px !important;
        text-align: right;
        gap: 0 !important;
    }

    .footer-hero-section .footer-contact a {
        font-size: 0.85rem;
        line-height: 1.6 !important;
        color: #131313;
        font-weight: 700;
        text-decoration: none;
    }

    .copyright-sep {
        display: block !important;
        /* Paksa turun ke baris baru */
        margin-top: 0.5rem;
    }
}

/* Hide navbar when iframe popup modal is open on mobile */
@media (max-width: 1024px) {
    body.is-popup-open .navbar {
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
        transform: translateY(-100%) !important;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    }
}