/* Premium UI Styles */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 1.5px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    z-index: 99997;
    pointer-events: none;
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
}

/* ── NAV wrapper ── */
#nav {
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#fixed-logo {
/*     position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center center; */
	display: table;
  	margin: 0 auto;
  	padding: 0;
    z-index: 9999;
    pointer-events: auto;
    mix-blend-mode: difference;
    opacity: 0;
}

#fixed-logo img {
    height: clamp(20px, 5vw, 512px);
    width: auto;
    display: block;
}

/* ── Menu button (top-right) ── */
#menu-btn {
    position: fixed;
    top: clamp(14px, 2vw, 30px);
    right: clamp(18px, 2.5vw, 40px);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #fff;
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
    opacity: 0;
    transform: translateY(-12px);
    animation: menuBtnIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) 3s forwards;
    transition: background 0.2s, color 0.2s, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* nav 三元素隱藏狀態（向上滑出畫面）*/
.show-nav-scroll #fixed-logo {
    transform: translateX(-50%) scaleY(0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.show-nav-scroll #menu-btn {
    transform: translateY(-60px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── NAV_SCROLL bar ── */
#nav_scroll_container {
    --ns-menu-bg: #000000;
    --ns-menu-text: #FFFFFF;
    --ns-menu-accent: #D74E9C;
    --ns-menu-line: rgba(215, 78, 156, 0.25);
    position: fixed;
    top: 30px;
    left: 50%;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    width: min(500px, calc(100vw - 80px));
    height: 64px;
    background-color: #1E1E1E;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50%);
    will-change: transform, opacity;
    pointer-events: none;
}

#nav_scroll_container.is-blend-fadeout {
    filter: brightness(0.965) saturate(0.95) blur(0.2px);
    opacity: 0.965;
}

#nav_scroll {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 64px;
    width: 100%;
    min-height: 64px;
    padding: 0 24px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    border-radius: inherit;
}

#nav_scroll_container.is-menu-open {
    pointer-events: auto;
    box-shadow: none;
}

/* 進場：橫線往左右拉出 → 縱向展開成 bar */
@keyframes nsBarIn {
    0% {
        transform: translateX(-50%) scaleX(0) scaleY(0.04);
        opacity: 1;
        border-radius: 100px;
    }

    55% {
        transform: translateX(-50%) scaleX(1) scaleY(0.04);
        opacity: 1;
        border-radius: 100px;
    }

    100% {
        transform: translateX(-50%) scaleX(1) scaleY(1);
        opacity: 1;
        border-radius: 6px;
    }
}

/* 退場：縮回橫線 → 往中間收點 */
@keyframes nsBarOut {
    0% {
        transform: translateX(-50%) scaleX(1) scaleY(1);
        opacity: 1;
        border-radius: 6px;
    }

    45% {
        transform: translateX(-50%) scaleX(1) scaleY(0.04);
        opacity: 1;
        border-radius: 100px;
    }

    100% {
        transform: translateX(-50%) scaleX(0) scaleY(0.04);
        opacity: 0;
        border-radius: 100px;
    }
}

#nav_scroll_container.ns-enter {
    animation: nsBarIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: auto;
}

#nav_scroll_container.ns-exit {
    animation: nsBarOut 0.5s cubic-bezier(0.4, 0, 0.6, 1) forwards;
    pointer-events: none;
}

/* 內容在 bar 展開後淡入 */
#nav_scroll .ns-icon,
#nav_scroll .ns-logo {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

#nav_scroll .ns-hamburger {
    transition: opacity 0.18s ease;
}

#nav_scroll_container.ns-enter #nav_scroll .ns-icon,
#nav_scroll_container.ns-enter #nav_scroll .ns-logo {
    opacity: 1;
    transition-delay: 0.42s;
}

#nav_scroll_container.ns-exit #nav_scroll .ns-icon,
#nav_scroll_container.ns-exit #nav_scroll .ns-logo {
    opacity: 0;
    transition-delay: 0s;
}

#nav_scroll_container.is-menu-open #nav_scroll {
    border-bottom: 1px solid var(--ns-menu-line);
}

#nav_scroll_container.is-menu-open #nav_scroll .ns-icon svg {
    stroke: var(--ns-menu-text);
}

/* #nav_scroll_container.is-menu-open #nav_scroll .ns-logo img {
    filter: brightness(0);
} */

#nav_scroll .ns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
}

#nav_scroll .ns-icon:hover {
    opacity: 0.7 !important;
}

#nav_scroll .ns-icon svg {
    width: 25px;
    height: 25px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#nav_scroll .ns-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#nav_scroll .ns-logo img {
    height: 4vw;
    width: auto;
    display: block;
    /* filter: brightness(0) invert(1); */
}

/* ── hamburger → + morph (2 lines) ── */
.ns-ham-svg {
    overflow: visible;
}

/* 關閉 → 兩條線：快 */
.ns-ham-svg line {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 9px 12px;
    transform-box: view-box;
}

/* 開啟 → X：慢一點 */
#nav_scroll_container.is-menu-open .ns-ham-svg line {
    transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.ns-ham-l1 {
    transform: translateY(0);
}

.ns-ham-l2 {
    transform: translateY(0);
}

#nav_scroll_container.is-menu-open .ns-ham-l1 {
    transform: rotate(45deg);
}

#nav_scroll_container.is-menu-open .ns-ham-l2 {
    transform: rotate(-45deg);
}

.ns-dropdown {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    overflow: auto;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.ns-dropdown::-webkit-scrollbar {
    display: none;
}

.ns-dropdown::before {
    display: none;
}

.ns-dropdown__inner {
    position: relative;
    height: 100%;
    padding: 0;
}

.ns-dropdown__eyebrow {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.48);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.ns-dropdown__grid {
    display: grid;

    gap: 28px;
    align-items: start;
}

.ns-menu-group {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ns-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.ns-menu-link:hover,
.ns-menu-link:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.36);
    outline: none;
}

.ns-menu-link-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ns-menu-link-title {
    font-family: "Zalando Sans SemiExpanded", "DM Sans", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    /* grid stack: width = max(EN, ZH), height = one line */
    display: inline-grid;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.ns-menu-link-title .nlt-en,
.ns-menu-link-title .nlt-zh {
    grid-area: 1 / 1;
    transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}

/* EN visible by default */
.ns-menu-link-title .nlt-en {
    transform: translateY(0);
}

/* ZH hidden below */
.ns-menu-link-title .nlt-zh {
    transform: translateY(100%);
    text-transform: none;
    letter-spacing: 0.05em;
}

/* hover: EN slides up, ZH slides in */
.ns-menu-link:hover .ns-menu-link-title .nlt-en,
.ns-menu-link:focus-visible .ns-menu-link-title .nlt-en {
    transform: translateY(-100%);
}

.ns-menu-link:hover .ns-menu-link-title .nlt-zh,
.ns-menu-link:focus-visible .ns-menu-link-title .nlt-zh {
    transform: translateY(0);
}

.ns-menu-link-sub {
    color: rgba(255, 255, 255, 0.44);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ns-menu-link-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ns-dropdown__aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.ns-dropdown__label {
    color: rgba(255, 255, 255, 0.42);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.ns-dropdown__headline {
    color: #fff;
    font-family: "Zalando Sans SemiExpanded", "DM Sans", sans-serif;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ns-dropdown__copy {
    color: rgba(255, 255, 255, 0.58);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.ns-dropdown__socials {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
}

.ns-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(163, 255, 0, 0.22);
    color: #a3ff00;
    background: rgba(163, 255, 0, 0.04);
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.ns-social-link:hover,
.ns-social-link:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(163, 255, 0, 0.1);
    outline: none;
}

.ns-social-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.ns-dropdown__item,
.ns-social-link {
    opacity: 0;
    transform: translateY(12px);
}

.ns-menu-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--ns-menu-bg);
    color: var(--ns-menu-text);
}

.ns-menu-topline {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 48px;
    padding: 0 28px;
    border-bottom: 1px solid var(--ns-menu-line);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ns-menu-topline__brand,
.ns-menu-topline__contact {
    color: inherit;
    text-decoration: none;
}

.ns-menu-topline__contact:hover,
.ns-menu-topline__contact:focus-visible {
    color: var(--ns-menu-accent);
    outline: none;
}

.ns-menu-rows {
    flex: 1 1 auto;
    display: grid;
    grid-template-rows: repeat(5, minmax(92px, 1fr));
}

.ns-showcase-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    border-bottom: 1px solid var(--ns-menu-line);
    color: var(--ns-menu-text);
    text-decoration: none;
    overflow: hidden;
    transition:
        background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ns-showcase-row:hover,
.ns-showcase-row:focus-visible {
    background: rgba(23, 20, 17, 0.035);
    outline: none;
}

.ns-showcase-row__index {
    position: absolute;
    bottom: 15%;
    /* left: calc(50% - min(16vw, 250px)); */
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.ns-showcase-row__title {
    position: relative;
    z-index: 2;
    display: block;
    font-family: "Zalando Sans SemiExpanded", "DM Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(56px, 7vw, 90px);
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

.ns-showcase-row__title-track {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0 0.06em 0.1em;
    will-change: transform;
}

.ns-showcase-row__title-layer {
    display: block;
    will-change: transform;
}

.ns-showcase-row__title-layer.is-primary {
    position: relative;
    color: inherit;
}

.ns-showcase-row__title-layer.is-accent {
    position: absolute;
    inset: 0;
    color: var(--ns-menu-accent);
}

.ns-showcase-row.is-previewed {
    color: var(--ns-menu-accent);
}

.ns-showcase-row.is-previewed .ns-showcase-row__index {
    color: rgba(23, 20, 17, 0.55);
}

.ns-showcase-row__thumb {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: clamp(138px, 18vh, 208px);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    box-shadow: 0 24px 54px rgba(23, 20, 17, 0.18);
    transform: translateY(-50%);
}

.ns-showcase-row__thumb.is-left {
    left: calc(50% - min(33vw, 400px));
    clip-path: inset(0% 0% 0% 100%);
}

.ns-showcase-row__thumb.is-right {
    left: calc(50% + min(30vw, 248px));
    clip-path: inset(0% 100% 0% 0%);
}

.ns-showcase-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.3);
    filter: saturate(0.92) contrast(1.02);
    will-change: transform;
}

.ns-showcase-row__thumb.is-left img {
    object-position: center;
}

.ns-showcase-row__thumb.is-right img {
    object-position: center;
}

.ns-menu-preview {
    display: none;
}

.ns-menu-preview__card {
    display: none;
}

.ns-menu-preview__card.is-left {
    left: auto;
}

.ns-menu-preview__card.is-right {
    left: auto;
}



/* 改大文字跟LOGO大小 */

@media (min-width: 1730px) {
    .huge-text {
        font-size: clamp(6rem, 10vw, 8rem);
    }

    .small-tag {
        font-size: 0.75rem;
    }
}

.top-header .small-tag {
	padding: 0 2vw;  
	flex: 1;
}

@media (min-width: 1560px) and (max-width: 1730px) {
    .huge-text {
        font-size: 6rem;
    }

    .small-tag {
        padding-top: 10px
    }
}

@media (min-width: 1280px) and (max-width: 1560px) {
    .huge-text {
        font-size: 6rem;
    }

    .small-tag {
        padding-top: 30px
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .huge-text {
        font-size: 4rem;
    }

    #fixed-logo {
        top: 50px
    }

    .small-tag {
        padding-top: 30px
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .huge-text {
        font-size: 4rem;
    }

    #fixed-logo {
        top: 30px
    }

    .small-tag {
        padding-top: 30px
    }
}



@media (max-width: 1280px) {

    .ns-showcase-row,
    .ns-showcase-row:hover,
    .ns-showcase-row:focus-visible,
    .ns-showcase-row.is-previewed {
        background: transparent;
        color: var(--ns-menu-text);
        transition: none;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .ns-showcase-row__title,
    .ns-showcase-row__title-track,
    .ns-showcase-row__title-layer,
    .ns-showcase-row__index {
        transition: none;
        will-change: auto;
    }

    .ns-showcase-row__title-track,
    .ns-showcase-row__title-layer,
    .ns-showcase-row__index {
        transform: none !important;
    }

    .ns-showcase-row__title-layer.is-accent,
    .ns-showcase-row__thumb,
    .ns-menu-preview {
        display: none !important;
    }

    .ns-showcase-row.is-previewed .ns-showcase-row__index {
        color: inherit;
    }
}

.ns-menu-preview__card img {
    display: none;
}

/* ── dropdown contact footer ── */
.ns-dd-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    margin-top: 12px;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ns-dd-contact__row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ns-dd-social {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ns-dd-social:hover {
    color: #fff;
}

.ns-dd-info {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.54);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ns-dd-info:hover {
    color: rgba(255, 255, 255, 0.9);
}

.ns-dd-addr {
    cursor: default;
}

@media (max-width: 767px) {
    .scroll-track {
        height: auto;
    }

    #nav {
        display: none;
    }

    .sticky-container {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .hero-section {
        position: relative;
        height: 90vh;
    }

    .overlay-top {
        padding-top: 90px;
    }

    .grid-section {
        display: none;
    }

    .top-header {
        display: none;
    }

    #nav_scroll_container {
        position: fixed;
        top: 16px;
        width: calc(100vw - 24px);
        opacity: 1 !important;
        pointer-events: auto !important;
        animation: none !important;
        transform: translateX(-50%) !important;
        transition: none !important;
        will-change: auto;
    }

    #nav_scroll_container.ns-enter,
    #nav_scroll_container.ns-exit {
        opacity: 1 !important;
        animation: none !important;
        transform: translateX(-50%) !important;
    }

    #nav_scroll {
        width: 100%;
        padding: 0 20px;
    }

    #nav_scroll .ns-icon,
    #nav_scroll .ns-logo {
        opacity: 1 !important;
        transform: none !important;
    }

    .ns-dropdown {
        width: 100%;
    }

    .ns-dropdown__inner {
        padding: 0;
    }

    .ns-menu-topline {
        padding: 0 18px;
        font-size: 11px;
    }

    .ns-menu-rows {
        grid-template-rows: repeat(5, minmax(76px, 1fr));
    }

    .ns-showcase-row {
        min-height: 76px;
    }

    .ns-showcase-row__title {
        font-size: clamp(38px, 11vw, 56px);
    }

    .ns-showcase-row__index {
        bottom: 20%;
        /* left: 18px; */
    }

    .ns-showcase-row__thumb {
        display: none;
    }

    .ns-menu-preview {
        display: none;
    }

    .ns-dropdown__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ns-dropdown__headline {
        font-size: 16px;
    }
}

#menu-btn:hover {
    background: #e0e0e0;
}

#menu-btn .menu-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#menu-btn .menu-lines span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
}

@keyframes menuBtnIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cursor-dot,
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin: -3px 0 0 -3px;
    mix-blend-mode: difference;
    transition: transform 0.03s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    will-change: transform;
    opacity: 0;
    /* Hidden by default to favor grid mouse trail */
}

#cursor-ring {
    --cursor-label-enter-duration: 0.16s;
    --cursor-label-exit-duration: 0.14s;
    --cursor-label-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --cursor-ring-size: 68px;
    --cursor-ring-rest-scale: 0.5294117647;
    width: var(--cursor-ring-size);
    height: var(--cursor-ring-size);
    border: 0;
    /* Hidden by default */
    border-radius: 50%;
    margin: calc(var(--cursor-ring-size) / -2) 0 0 calc(var(--cursor-ring-size) / -2);
    mix-blend-mode: difference;
    will-change: transform;
    contain: layout paint style;
    transition: opacity 0.3s ease;
}

#cursor-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0);
    transform: scale(var(--cursor-ring-rest-scale));
    transition: transform 0.24s cubic-bezier(0.23, 1, 0.32, 1),
        background-color 0.24s ease,
        opacity 0.24s ease;
    will-change: transform, opacity;
}




.mouseTracker--01 {
    animation: mouseTracker_fadeOut 1s forwards;
    border-radius: 2px;
    opacity: 1;
    pointer-events: none;
    position: fixed;
    z-index: 99999;
}

@keyframes mouseTracker_fadeOut {
    to {
        opacity: 0;
    }
}

#cursor-dot.is-link {
    opacity: 0;
}

#cursor-ring.is-link,
#cursor-ring.is-leaving {
    position: fixed;
    display: block;
    background: transparent;
    border-color: transparent;
    mix-blend-mode: difference;
    translate: none;
    transition: opacity 0.24s ease;
}

#cursor-ring.is-link:not(.is-leaving)::before {
    transform: scale(1);
    background: #fff;
}

#cursor-ring.is-leaving::before {
    transform: scale(var(--cursor-ring-rest-scale));
    background: rgba(255, 255, 255, 0);
}

#cursor-ring.is-link::after,
#cursor-ring.is-leaving::after {
    content: attr(data-cursor-label);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    will-change: opacity;
}



#cursor-ring.is-link::after {
    opacity: 1;
    transition: opacity 0.12s ease;
}

#cursor-ring.is-leaving::after {
    opacity: 0;
    transition: opacity 0.12s ease;
}

@keyframes nd-cursor-label-in {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes nd-cursor-label-out {
    from {
        clip-path: inset(0 0 0 0);
    }

    to {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes nd-cursor-label-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes nd-cursor-label-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* 🎯 自訂鼠標只在 PC(可 hover、精細指標、寬度 > 1024px)顯示;
       iPad/手機/任何觸控裝置一律隱藏 */
@media (max-width: 1024px),
(hover: none),
(pointer: coarse) {

    #cursor-dot,
    #cursor-ring,
    .mouseTracker--01 {
        display: none;
    }
}

/* Footer CSS */
.site-footer {
    position: relative;
    overflow: visible;
    background: #000;
    color: #fff;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
}

.footer-top {
    padding: 3vw 2.5vw;
    position: relative;
    z-index: 5;
    background-color: #000000;
}



.footer-brand-title {
    font-family: 'Zalando Sans SemiExpanded', 'DM Sans', sans-serif;
    /* font-size: clamp(3rem, 10vw, 12rem); */
    font-size: clamp(4rem, 15vw, 11.5rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.88;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
    color: #fff;
}

.footer-brand-title sup {
    font-size: 0.13em;
    vertical-align: top;
    letter-spacing: 0;
}

.footer-info-bar {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
    padding-top: 30px;
    margin-bottom: 40px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.footer-main-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    /*gap: 40px;*/
}

.footer-description {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    max-width: 450px;
    margin-bottom: 32px;
}

.footer-contact-info a:hover {
    opacity: 0.6;
}

.footer-contact-info a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: clamp(20px, 3.5vw, 50px);
    font-weight: 400;
    margin-bottom: 4px;
    transition: opacity 0.2s;
}

.footer-contact-info a:hover {
    opacity: 0.6;
}

.footer-contact-info span {
    color: #ffffff;
    font-size: clamp(18px, 2.5vw, 30px);
}

.web_add {
    color: #575757;
}

.footer-nav-links {
    display: flex;
    gap: 28px;
    margin-top: 38px;
}

.footer-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.2s;
}

.footer-nav-links a:hover {
    opacity: 0.5;
}

.footer-right-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.footer-video-thumb {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.footer-video-thumb img,
.footer-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-copyright-bridge {
    position: absolute;
    bottom: 0;
    right: 6%;
    width: clamp(90px, 10vw, 148px);
    height: clamp(90px, 10vw, 148px);

    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(50%);
    z-index: 20;
}

.footer-copyright-bridge span {
    font-family: 'Zalando Sans SemiExpanded', 'DM Sans', sans-serif;
    font-size: 180px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.footer-parallax-section {
    height: 50vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.footer-parallax-copy {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 1.5rem;
        line-height: normal;
    }

    .footer-nav-links {
        gap: 16px;
        margin-top: 24px;
        flex-wrap: wrap;

    }

    .web_add {
        margin-top: 8px;
    }



}

@media (max-width: 1440px) {
    .footer-parallax-section {
        height: 300px;

    }
}


.footer-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--footer-bg-image, none);
    background-attachment: fixed;
    background-size: contain;
    background-position: bottom;
    opacity: 1;
    mix-blend-mode: luminosity;
}



/* ── Footer Reveal System ───────────────────────────────── */
.footer-info-line {
    height: 1px;
    background: #222;
    transform-origin: left center;
    margin-bottom: 18px;
    will-change: transform;
}

.frev-wrap {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.footer-video-cover {
    position: absolute;
    inset: 0;
    background: #0a0a0a;
    z-index: 2;
    pointer-events: none;
    transform-origin: right center;
    will-change: transform;
}

@media (max-width: 1024px) {

    .footer-copyright-bridge,
    .footer-parallax-section {
        display: none !important;
    }

    /*FWA徽章*/
    .fwa-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-main-content {
        grid-template-columns: 1fr;
    }

    .footer-right-panel {
        align-items: flex-start;
        margin-top: 40px;
    }
}