    :root {
      --pt-bg: #000;
      --pt-top: -102%;
      --pt-bottom: 102%
    }

    html.is-page-transitioning,
    html.is-page-transitioning body {
      cursor: progress
    }

    .page-transition-shell {
      position: fixed;
      inset: 0;
      z-index: 300000;
      pointer-events: none;
      opacity: 0;
      visibility: hidden
    }

    .page-transition-shell.is-active {
      opacity: 1;
      visibility: visible
    }

    html.has-pending-page-transition .page-transition-shell {
      opacity: 1;
      visibility: visible
    }

    .page-transition-curtain {
      position: absolute;
      inset: 0;
      opacity: 0;
      --pt-top: -102%;
      --pt-bottom: 102%
    }

    .page-transition-curtain::before,
    .page-transition-curtain::after {
      content: '';
      position: absolute;
      left: 0;
      width: 100%;
      height: 60vh;
      background: var(--pt-bg);
      will-change: transform
    }

    .page-transition-curtain::before {
      top: 0;
      transform: translateY(var(--pt-top))
    }

    .page-transition-curtain::after {
      bottom: 0;
      transform: translateY(var(--pt-bottom))
    }

    html.has-pending-page-transition .page-transition-curtain {
      opacity: 1;
      --pt-top: 0%;
      --pt-bottom: 0%
    }

    .page-transition-frame,
    html.has-pending-page-transition .page-transition-frame,
    .page-transition-loader,
    html.has-pending-page-transition .page-transition-loader,
    .page-transition-counter,
    .page-transition-counter span,
    .page-transition-panel,
    html.has-pending-page-transition .page-transition-panel {
      display: none !important
    }

    @media (max-width:767px) {

      .page-transition-curtain::before,
      .page-transition-curtain::after {
        height: 58vh
      }
    }

/* ===== block ===== */
    *,
    *::after,
    *::before {
      box-sizing: border-box;
    }

    :root {
      --color-text: #fff;
      --color-bg: #000;
      --thumb-width: 120px;
      --line-spacing: 10px;
      --line-base-height: 15px;
      --line-max-height: 50px;
      --font-family-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
      --font-family-display: "Zalando Sans SemiExpanded", "DM Sans", "Helvetica Neue", Arial, sans-serif;
      --font-family-accent: "Bitcount Grid Single", "DM Sans", "Helvetica Neue", Arial, sans-serif;
      --type-root: clamp(13px, 12.4px + 0.2vw, 16px);
      --text-2xs: clamp(0.6875rem, 0.66rem + 0.14vw, 0.75rem);
      --text-xs: clamp(0.75rem, 0.72rem + 0.22vw, 0.85rem);
      --text-sm: clamp(0.8125rem, 0.77rem + 0.28vw, 0.95rem);
      --text-base: clamp(0.9375rem, 0.9rem + 0.28vw, 1.05rem);
      --text-md: clamp(1rem, 0.94rem + 0.44vw, 1.2rem);
      --text-lg: clamp(1.125rem, 1.04rem + 0.8vw, 1.5rem);
      --text-display-xs: clamp(2rem, 3.5vw, 3.125rem);
      --text-display-sm: clamp(2.8rem, 4.6vw, 4.8rem);
      --text-display-md: clamp(3rem, 8vw, 5rem);
      --text-display-lg: clamp(4rem, 15vw, 11.5rem);
      --text-display-xl: clamp(5.5rem, 14vw, 13rem);
      --text-watermark: clamp(10rem, 22vw, 22rem);
      --leading-tight: 1;
      --leading-display: 0.88;
      --leading-body: 1.7;
      --tracking-tight: -0.04em;
      --tracking-display: -0.02em;
      --tracking-brand: 0.02em;
      --tracking-copy: 0.03em;
      --tracking-meta: 0.12em;
      --tracking-ui: 0.05em;
      --tracking-label: 0.08em;
      --tracking-wide: 0.1em;
      --tracking-caps: 0.18em;
    }

    html {
      font-size: var(--type-root);
      /* 🎯 Lenis 接管滾動,強制關閉瀏覽器原生 smooth scroll,避免兩套滾動引擎打架 */
      scroll-behavior: auto;
      /* 🎯 阻止 Mac 觸控板上下回彈造成 Lenis 失同步、頂底卡頓 */
      overscroll-behavior-y: none;
    }

    body {
      margin: 0;
      padding: 0;
      background-color: var(--color-bg);
      font-family: var(--font-family-body);
      font-size: var(--text-base);
      /*line-height: var(--leading-body);*/
      overflow-x: hidden;
      overflow-y: auto;
      /* 🎯 同步開啟 GPU 文字渲染抗鋸齒,滾動中字體不抖 */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overscroll-behavior-y: none;
    }

    @media (hover: none),
    (pointer: coarse) {

      html,
      body {
        overscroll-behavior-y: auto;
      }
    }

    body::-webkit-scrollbar {
      width: 6px;
    }

    body::-webkit-scrollbar-track {
      background: #000;
    }

    body::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.18);
      border-radius: 3px;
      transition: background-color .25s ease;
    }

    body::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.32);
    }

    /* Firefox */
    html {
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.18) #000;
    }

    /* =========================================================
       SCROLL CONTROL & STICKY CONTAINER
       ========================================================= */
    .scroll-track {
      height: 600vh;
      position: relative;
      /* 🎯 觸控裝置只允許垂直滑動,避免水平手勢誤觸發瀏覽器導航 */
      touch-action: pan-y;
      /* 🎯 提示瀏覽器將整個 scroll-track 升為合成層,滾動完全交給 GPU */
      transform: translate3d(0, 0, 0);
      backface-visibility: hidden;
    }

    .sticky-container {
      position: sticky;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      /* 🎯 提示 GPU 建立獨立合成層,避免重繪整個頁面 */
      transform: translateZ(0);
      will-change: transform;
    }

    /* =========================================================
       SECTION 1: HERO / WEBGL SLIDESHOW
       ========================================================= */
    .hero-section {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      background-color: #000;
      z-index: 1;
      isolation: isolate;
    }

    .hero-section,
    .hero-section * {
      cursor: default !important;
    }

    .hero-section a,
    .hero-section button,
    .hero-section .slide-thumb,
    .hero-section [data-cursor],
    .hero-section .brand-core-video,
    .hero-section .brand-core-video a,
    .hero-section .brand-core-video * {
      cursor: pointer !important;
    }

    /* brand-core-video 手指頭：最高優先級確保覆蓋 hero-section * */
    .hero-section .brand-core-video-row .brand-core-video,
    .hero-section .brand-core-video-row .brand-core-video a,
    .hero-section .brand-core-video-row .brand-core-video video {
      cursor: pointer !important;
    }

    #webgl-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      /* 🎯 WebGL canvas 強制獨立合成層,滾動中 GPU 不重繪整個 hero */
      transform: translateZ(0);
      will-change: transform;
      backface-visibility: hidden;
      contain: strict;
    }

    @media (max-width: 767px) {
      #webgl-container {
        background-image: url('/assets/nudot/images/home/load.webp');
      }
    }

    .slides {
      display: none;
    }

    /* --- OVERLAY UI (Typography Layout) --- */

    .overlay-ui .footer-col a {
      padding-right: 0px;
    }

    .overlay-ui {
      position: absolute;
      inset: 0;
      padding: 2.5vw 3vw;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      z-index: 500;
      pointer-events: none;
      color: #fff;
      mix-blend-mode: difference;
    }

    .overlay-ui a {
      pointer-events: auto;
      color: #fff;
      text-decoration: none;
      padding-right: 30px;
    }

    .overlay-top {
      width: 100%;
    }

    .overlay-bottom {
      width: 100%;
    }

    .top-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      margin-bottom: 6vh;
      position: relative;
      z-index: 2;
    }

    .huge-text {
      font-family: var(--font-family-display);
      font-stretch: semi-expanded;
      font-size: var(--text-display-lg);
      font-weight: 600;
      line-height: var(--leading-display);
      letter-spacing: var(--tracking-display);
      color: #fff;
      mix-blend-mode: difference;
    }

    .small-tag {
      font-size: var(--text-xs);
      font-weight: 500;
      white-space: nowrap;
      letter-spacing: var(--tracking-ui);
      color: #fff;
      mix-blend-mode: difference;
      padding-left: 15px;
    }

    .overlay-ui,
    .huge-text,
    .small-tag {
      will-change: transform;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      width: 100%;
    }

    .col-right {
      grid-column: 4;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    .overlay-top .col-right {
      position: relative;
      z-index: 650;
      pointer-events: auto;
    }

    .services-list {
      list-style: none;
      padding: 0;
      margin: 0;
      font-size: var(--text-xs);
      letter-spacing: var(--tracking-wide);
      line-height: var(--leading-body);
      color: rgba(255, 255, 255, 0.9);
    }


    .services-list_en {

      font-size: var(--text-xs);
      letter-spacing: 0em;

    }

    .services-list.services-list_en.bordered li {
      /* min-width: 170px; */
      white-space: nowrap;
    }

    .services-list.bordered li {
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
      padding-bottom: 2px;
      margin-bottom: 4px;
      width: auto;
      min-width: 100px;
      text-align: right;
    }

    .services-list.bordered li:first-child {
      border-top: 1px solid rgba(255, 255, 255, 0.3);
      padding-top: 4px;
    }

    .services-list.bordered a {
      display: block;
      color: inherit;
      text-decoration: none;
      pointer-events: auto;
      transition: color 0.25s ease, opacity 0.25s ease;
    }

    .services-list.bordered a:hover,
    .services-list.bordered a:focus-visible {
      color: #fff;
      opacity: 0.78;
      outline: none;
    }

    /* 品牌核心識別下方獨立影片方塊 (放在 hero-section 直接子層,跳脫 overlay-ui 的 mix-blend-mode) */
    .brand-core-video-row {
      position: absolute;
      right: 3vw;
      bottom: 22vh;
      z-index: 600;
      pointer-events: auto;
    }

    .brand-core-video {
      width: clamp(180px, 14vw, 240px);
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 2px;
      background: rgba(0, 0, 0, 0.4);
      cursor: pointer;
      /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); */
    }

    .brand-core-video a {
      cursor: pointer;
    }

    .brand-core-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* 手機板隱藏 */
    @media (max-width: 767px) {
      .brand-core-video-row {
        display: none;
      }
    }
    
    
        /* FWA of the Day 徽章 */
    .fwa-badge {
      position: fixed;
      left: 0;
      bottom: 0;
      z-index: 99000;
      pointer-events: auto;
      display: block;
      width: 110px;
      height: auto;
      opacity: 0.88;
      transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
     
    }

    

    .fwa-badge img {
      width: 100%;
      height: auto;
      display: block;
    }
    
    
    

    .grid-section {
      position: relative;
      margin-bottom: 30vh;
    }

    .hero-quick-links-row {
      align-items: center;
      margin-bottom: 0.85rem;
    }

    .hero-quick-links-row>div {}

    .hero-quick-links {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: clamp(36px, 4.6vw, 92px);
    }

    .hero-quick-links a {
      color: rgba(255, 255, 255, 0.92);
      font-family: 'DM Sans', sans-serif;
      font-size: var(--text-xs);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      text-decoration: none;
      pointer-events: auto;
      cursor: pointer;
      transition: color 0.25s ease, opacity 0.25s ease;
    }

    .hero-quick-links a:hover,
    .hero-quick-links a:focus-visible {
      color: #fff;
      opacity: 0.78;
      outline: none;
    }

    @media (max-width: 900px) {
      .hero-quick-links {
        grid-column: 1 / -1;
        gap: 20px 30px;
      }
    }

    .border-top-line {
      border-top: 1px solid rgba(255, 255, 255, 0.15);
      padding-top: 1rem;
    }

    .grid-section .grid-4 div {
      font-size: var(--text-xs);
      color: rgba(255, 255, 255, 0.9);
      letter-spacing: var(--tracking-wide);
    }

    .grid-section .grid-4.border-top-line>div:nth-child(1) {
      text-align: left;
    }

    .grid-section .grid-4.border-top-line>div:nth-child(2),
    .grid-section .grid-4.border-top-line>div:nth-child(3) {
      text-align: center;
    }

    .grid-section .grid-4.border-top-line>div:nth-child(4) {
      text-align: right;
    }

    .cross-container {
      position: absolute;
      left: 0;
      right: 0;
      top: 50px;
      height: 18vh;
      pointer-events: none;
    }

    .cross {
      position: absolute;
      color: rgba(255, 255, 255, 0.6);
      font-size: var(--text-md);
      line-height: var(--leading-tight);
      font-weight: 300;
    }

    .c-tl {
      top: 0;
      left: 0;
    }

    .c-tr {
      top: 0;
      right: 0;
    }

    .c-bl {
      bottom: 0;
      left: 0;
    }

    .c-br {
      bottom: 0;
      right: 0;
    }

    .bottom-footer {
      font-size: var(--text-2xs);
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.85);
      align-items: end;
    }

    .footer-col:nth-child(1) {
      grid-column: 1;
    }

    .footer-col:nth-child(2) {
      grid-column: 2;
    }

    .footer-links a {
      display: block;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
      margin-bottom: 6px;
      padding-bottom: 2px;
      width: fit-content;
      margin-left: auto;
      transition: color 0.3s, border-color 0.3s;
    }

    .footer-links a:hover {
      color: #fff;
      border-color: #fff;
    }

    /* --- BOTTOM SLIDESHOW CONTROLS --- */
    .bottom-ui-container {
      position: absolute;
      bottom: 12vh;
      left: 50%;
      transform: translateX(-50%);
      width: 720px;
      max-width: 100%;
      z-index: 600;
      padding-bottom: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .slide-section {
      display: none;
    }

    .slide-counter {
      display: flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      color: #fff;
      font-size: 0.825rem;
      margin-bottom: 24px;
    }

    .counter-display {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .counter-nav {
      width: 20px;
      cursor: pointer;
      opacity: 0.7;
      transition: opacity 0.3s;
      pointer-events: auto;
    }

    .counter-nav:hover {
      opacity: 1;
    }

    .counter-divider {
      opacity: 0.6;
      font-size: 0.8rem;
    }

    .slide-title-container {
      width: 100%;
      text-align: center;
      height: 30px;
      overflow: hidden;
      margin-bottom: 16px;
      position: relative;
    }

    .slide-title {
      position: absolute;
      width: 100%;
      color: #fff;
      font-size: 1rem;
      opacity: 0.8;
      transition: transform 0.5s ease, opacity 0.5s ease;
      left: 0;
    }

    .slide-title.exit-up {
      transform: translateY(-30px);
      opacity: 0;
    }

    .slide-title.enter-up {
      transform: translateY(30px);
      opacity: 0;
    }

    .drag-indicator {
      width: 100%;
      height: 50px;
      pointer-events: none;
      margin-bottom: 8px;
      position: relative;
    }

    .lines-container {
      display: flex;
      height: 100%;
      width: 100%;
      position: relative;
      align-items: flex-end;
      justify-content: space-between;
    }

    .drag-line {
      width: 2px;
      background-color: rgba(255, 255, 255, 0.3);
      height: var(--line-base-height);
      transform-origin: bottom center;
      transition: height 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        background-color 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    }

    .thumbs-container {
      width: 100%;
      background: rgba(0, 0, 0, 0.5);
      overflow: hidden;
      pointer-events: auto;
    }

    .slide-thumbs {
      display: flex;
      position: relative;
      background: transparent;
      padding: 0;
      z-index: 11;
      gap: 0;
    }

    .slide-thumb {
      width: var(--thumb-width);
      height: 60px;
      background-size: cover;
      background-position: left center;
      cursor: pointer;
      opacity: 0.5;
      transition: opacity 0.3s;
      border: none;
      outline: none;
      margin: 0;
      position: relative;
      z-index: 12;
      overflow: hidden;
    }

    .slide-thumb:hover {
      opacity: 0.8;
    }

    .slide-thumb.active {
      opacity: 1;
    }

    /* =========================================================
       SECTION 2: DARK WRAPPER & 3D CUBE (The Curtain)
       ========================================================= */
    .dark-wrapper-mask {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100vw;
      height: 100vh;
      z-index: 10;
      overflow: hidden;
      clip-path: inset(100% 0 0 0);
      -webkit-clip-path: inset(100% 0 0 0);
      will-change: clip-path;
      contain: layout paint style;
    }

    .dark-wrapper {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100vw;
      height: 100vh;
      background-color: #030303;
      color: #ffffff;
      z-index: 1;
      overflow: hidden;
      transform: translateZ(0);
      /* 🎯 外層只改可視高度,內容固定在原本 viewport 座標,避免 3D/absolute layers 被整包 transform 影響 */
      contain: layout paint;
    }

    .glow-bottom-left {
      position: absolute;
      bottom: -20vh;
      left: -10vw;
      width: 70vw;
      height: 70vh;
      background: radial-gradient(circle, rgba(200, 210, 215, 0.15) 0%, transparent 60%);
      filter: blur(60px);
      z-index: 0;
    }

    .glow-center-left {
      position: absolute;
      top: 20vh;
      left: 20vw;
      width: 50vw;
      height: 50vh;
      background: radial-gradient(circle, rgba(120, 160, 160, 0.1) 0%, transparent 60%);
      filter: blur(60px);
      z-index: 0;
    }

    nav.dark-nav {
      display: none;
    }

    .scroll-indicator {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      align-items: center;
      animation: float 2s infinite ease-in-out;
    }

    .si-block {
      display: flex;
      flex-direction: column;
      align-items: center;



      gap: 2px;
    }

    .si-letter {
      display: flex;
      align-items: center;
      justify-content: center;
      width: clamp(1.6rem, 1.8vw, 2.2rem);
      height: auto;
      padding-bottom: 10px;
    }

    .si-letter img {
      width: 100%;
      height: auto;
      display: block;
    }

    .si-label {
      font-family: var(--font-family-body);
      font-size: var(--text-2xs);
      font-weight: 500;
      letter-spacing: var(--tracking-label);
      color: #fff;
      line-height: var(--leading-tight);
    }

    .si-line {
      width: 100%;
      height: 1px;
      background: #ffffff73;
      margin-top: 5px;
    }

    /* 
    @keyframes float {

      0%,
      100% {
        transform: translate(-50%, 0);
      }

      50% {
        transform: translate(-50%, 8px);
      }
    } */

    .scene-wrapper {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      z-index: 20;
      will-change: transform;
    }

    .scene {
      --scene-size: 160px;
      --scene-depth: 80px;
      width: var(--scene-size);
      height: var(--scene-size);
      perspective: calc(var(--scene-size) * 5);
    }

    .cube {
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transform: rotateX(-15deg) rotateY(-45deg);
      will-change: transform;
    }

    .face {
      position: absolute;
      width: var(--scene-size);
      height: var(--scene-size);
      background-color: #080808;
      border: 1px solid rgba(255, 255, 255, 0.05);
      box-shadow: inset 0 0 40px rgba(0, 0, 0, 1);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      user-select: none;
      backface-visibility: hidden;
    }

    .face-media {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .face.front {
      transform: rotateY(0deg) translateZ(var(--scene-depth));
    }

    .face.back {
      transform: rotateY(180deg) translateZ(var(--scene-depth));
    }

    .face.right {
      transform: rotateY(90deg) translateZ(var(--scene-depth));
    }

    .face.left {
      transform: rotateY(-90deg) translateZ(var(--scene-depth));
    }

    .face.top {
      transform: rotateX(90deg) translateZ(var(--scene-depth));
    }

    .face.bottom {
      transform: rotateX(-90deg) translateZ(var(--scene-depth));
    }

    .mobile-cube-section,
    .mobile-marquee-section {
      display: none;
    }

    @media (max-width: 767px) {
      .mobile-cube-section {
        --mobile-cube-size: clamp(150px, 48vw, 210px);
        --mobile-cube-depth: calc(var(--mobile-cube-size) / 2);
        --mcube-bg-z: 1;
        --mcube-fade-z: 2;
        --mcube-scene-z: 3;
        --mcube-content-z: 4;
        --mcube-title-top: 60px;
        --mcube-scene-offset: 80px;
        --mcube-copy-top: 150px;
        --mcube-inline-pad: 28px;
        display: grid;
        place-items: center;
        position: relative;
        min-height: clamp(360px, 62svh, 520px);
        padding: 90px 0 48px;
        box-sizing: border-box;
        background: #000;
        overflow: visible;
        z-index: 2;
        isolation: isolate;
        transition: min-height 0.45s ease, padding 0.45s ease;
      }

      .mobile-cube-section::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -72px;
        height: 160px;
        z-index: var(--mcube-fade-z);
        pointer-events: none;
        background:
          linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.18) 28%,
            rgba(0, 0, 0, 0.48) 58%,
            rgba(0, 0, 0, 0.88) 100%);
        opacity: 0.96;
      }

      .mobile-cube-bg,
      .mobile-cube-bg::after {
        position: absolute;
        inset: 0;
      }

      .mobile-cube-bg {
        z-index: var(--mcube-bg-z);
        overflow: hidden;
        pointer-events: none;
      }

      .mobile-cube-bg::after {
        content: "";
        background: rgba(0, 0, 0, 0.42);
      }

      .mobile-cube-bg video,
      .mobile-cube-face img,
      .mobile-cube-face video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
      }

      .mobile-cube-bg video {
        filter: brightness(0.72);
        transform: scale(1.04);
      }

      .mobile-cube-scene {
        position: relative;
        z-index: var(--mcube-scene-z);
        width: var(--mobile-cube-size);
        height: var(--mobile-cube-size);
        perspective: calc(var(--mobile-cube-size) * 5);
        padding-top: var(--mcube-scene-offset);
        touch-action: pan-y;
      }

      .mobile-cube {
        position: relative;
        width: 100%;
        height: 100%;
        transform: rotateY(0deg);
        transform-style: preserve-3d;
        will-change: transform;
      }

      .mobile-cube-face {
        position: absolute;
        width: var(--mobile-cube-size);
        height: var(--mobile-cube-size);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #080808;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.88);
        backface-visibility: hidden;
      }

      .mobile-cube-face.is-front {
        transform: rotateY(0deg) translateZ(var(--mobile-cube-depth));
      }

      .mobile-cube-face.is-back {
        transform: rotateY(180deg) translateZ(var(--mobile-cube-depth));
      }

      .mobile-cube-face.is-right {
        transform: rotateY(90deg) translateZ(var(--mobile-cube-depth));
      }

      .mobile-cube-face.is-left {
        transform: rotateY(-90deg) translateZ(var(--mobile-cube-depth));
      }

      .mobile-cube-face.is-top {
        transform: rotateX(90deg) translateZ(var(--mobile-cube-depth));
      }

      .mobile-cube-face.is-bottom {
        transform: rotateX(-90deg) translateZ(var(--mobile-cube-depth));
      }

      .mcube-title {
        position: absolute;
        top: var(--mcube-title-top);
        left: 0;
        z-index: var(--mcube-content-z);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
        text-align: center;
        pointer-events: none;
      }

      .mcube-title__eye,
      .mcube-copy__desc,
      .mcube-copy__tag,
      .mcube-stat__label {
        font-family: 'DM Sans', sans-serif;
      }

      .mcube-title__eye {
        font-size: clamp(0.6rem, 2.8vw, 0.75rem);
        font-weight: 400;
        letter-spacing: 0.18em;
        color: rgba(255, 255, 255, 0.45);
        text-transform: uppercase;
        white-space: nowrap;
      }

      .mcube-title__line,
      .mcube-stat__num {
        font-family: 'Zalando Sans SemiExpanded', 'DM Sans', sans-serif;
      }

      .mcube-title__line {
        margin: 0;
        font-size: 10vw;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.01em;
        color: #fff;
        text-transform: uppercase;
      }

      .mcube-copy {
        position: relative;
        z-index: var(--mcube-content-z);
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
        padding: var(--mcube-copy-top) var(--mcube-inline-pad) 0;
      }

      .mcube-copy__desc {
        margin: 0;
        font-size: clamp(0.78rem, 3.6vw, 0.95rem);
        font-weight: 400;
        line-height: 1.75;
        letter-spacing: 0.01em;
        color: rgba(255, 255, 255, 0.62);
        text-align: center;
      }

      .mcube-copy__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .mcube-copy__tag {
        padding: 4px 10px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 2px;
        font-size: clamp(0.6rem, 2.6vw, 0.7rem);
        font-weight: 500;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        white-space: nowrap;
      }

      .mcube-copy__stats {
        display: flex;
        gap: 24px;
        padding-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      .mcube-stat {
        display: flex;
        flex-direction: column;
        gap: 3px;
      }

      .mcube-stat__num {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #fff;
      }

      .mcube-stat__label {
        font-size: clamp(0.58rem, 2.4vw, 0.65rem);
        font-weight: 400;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.38);
        text-transform: uppercase;
      }

      .mobile-marquee-section {
        display: block;
        position: relative;
        z-index: 2;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        background: #000;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, padding 0.45s ease;
      }

      .mobile-marquee-section .mobile-marquee-outer {
        width: 100%;
        overflow: hidden;
        mix-blend-mode: difference;
      }

      .mobile-marquee-section .marquee-inner,
      .mobile-marquee-section .marquee-set {
        display: flex;
        align-items: center;
      }

      .mobile-marquee-section .marquee-inner {
        transform: translateZ(0);
        will-change: transform;
      }

      .mobile-marquee-section .marquee-set,
      .mobile-marquee-section .marquee-block,
      .mobile-marquee-section .marquee-label {
        flex-shrink: 0;
      }

      .mobile-marquee-section .marquee-block {
        display: inline-flex;
        align-items: baseline;
        padding: 0;
      }

      .mobile-marquee-section .huge-title.marquee-item {
        margin: 0 0.4em 0 0;
        font-family: 'Zalando Sans SemiExpanded', 'DM Sans', sans-serif;
        font-stretch: semi-expanded;
        font-size: 14vw;
        font-weight: 600;
        line-height: 1;
        color: #fff;
        white-space: nowrap;
      }

      .mobile-marquee-section .marquee-label {
        margin-right: 1.2em;
        font-family: 'DM Sans', sans-serif;
        font-size: clamp(0.7rem, 2.4vw, 0.95rem);
        font-weight: 400;
        line-height: 1;
        letter-spacing: 0.05em;
        color: #fff;
        white-space: nowrap;
      }
    }

    .face-subtitle {
      font-size: 0.75rem;
      color: #888;
      letter-spacing: 1px;
      margin-bottom: 5px;
    }

    .face-title {
      font-size: 1.2rem;
      font-weight: 800;
      line-height: 1.1;
      text-align: center;
      margin-bottom: 12px;
      letter-spacing: 0.5px;
    }

    .top-text {
      font-size: 1.5rem;
      font-weight: 900;
      letter-spacing: 3px;
      color: #aaa;
      transform: scaleY(-1);
    }

    .intro-panel {
      position: absolute;
      inset: 0;
      z-index: 16;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      overflow: visible;
      will-change: opacity;
      isolation: isolate;
    }

    .intro-panel .dual-wave-wrapper {
      display: flex;
      width: 90%;
      position: relative;
      gap: 25vw;
    }

    .intro-panel .wave-column {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: clamp(0.7rem, 1.7vh, 1.25rem);
      font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
      font-size: clamp(1.3rem, 2.5vw, 2.35rem);
      font-weight: 400;
      line-height: 1;
      position: relative;
      z-index: 100;
    }

    .intro-panel .wave-column-left {
      align-items: flex-start;
    }

    .intro-panel .wave-column-right {
      align-items: flex-end;
    }

    .intro-panel .animated-text {
      width: max-content;
      color: rgba(255, 255, 255, 0.25);
      text-transform: uppercase;
      transition: color 300ms ease-out;
      pointer-events: auto;
      user-select: none;
      cursor: default;
    }

    .intro-panel .animated-text.focused {
      color: #fff;
    }

    .intro-panel .image-thumbnail-wrapper {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100vw;
      z-index: 10;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.6rem;
    }

    .intro-panel .ip-thumb-row {
      display: flex;
      align-items: center;
      width: 100%;
    }

    .intro-panel .ip-thumb-line {
      flex: 1;
      height: 1px;
      background: rgba(255, 255, 255, 0.18);
    }

    .intro-panel .image-thumbnail {
      width: auto;
      height: auto;
      max-width: 15vw;
      max-height: 30vh;
      flex-shrink: 0;
    }

    @media (max-width: 1023px) {
      .intro-panel .dual-wave-wrapper {
        width: 100%;
        gap: 10vw;
      }

      .intro-panel .wave-column {
        /* gap: 2.5rem; */
        font-size: clamp(1.3rem, 2.5vw, 2.35rem);
      }

      .intro-panel .image-thumbnail-wrapper {
        width: 50vw;
      }

      .intro-panel .image-thumbnail {
        max-width: 100%;
      }
    }

    .ip-top-header {
      position: absolute;
      top: 28vh;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      z-index: 50;
      pointer-events: none;
      width: min(80%, 60rem);
      mix-blend-mode: difference;
      opacity: 0;
    }

    .ip-bottom-letter {
      position: absolute;
      bottom: 25vh;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      z-index: 50;
      pointer-events: none;
      mix-blend-mode: difference;
      opacity: 0;
    }

    .ip-top-chapter1 {
      position: absolute;
      font-size: 1rem;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      z-index: 50;
      pointer-events: none;
      width: min(80%, 60rem);
      mix-blend-mode: difference;
    }

    .ip-top-chapter {
      font-size: var(--text-xs);
      letter-spacing: 0.1em;
      color: #ddd;
      text-transform: uppercase;
      margin-bottom: 0.8rem;
    }

    .ip-top-title {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(5rem, 10vw, 9rem);
      font-weight: 900;
      line-height: 1.0;
      color: #fff;
      text-transform: uppercase;
      margin: 0;
      letter-spacing: -0.04em;
      transform: translateY(110%);
      will-change: transform, opacity;
    }

    .section-2-content {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 15;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      overflow: visible;
      padding-top: 50px;
    }

    .section-2-content .subtitle,
    .new-text-group .subtitle {
      font-size: 0.95rem;
      color: #ddd;
      letter-spacing: 0.1em;
      margin-bottom: 15px;
    }

    .section-2-content .title-wrapper,
    .new-text-group .title-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      mix-blend-mode: difference;
    }

    /* ── Marquee (title-wrapper replacement) ── */
    .section-2-content .title-wrapper.marquee-wrapper {
      display: block;
      width: 100%;
      overflow: hidden;
      mix-blend-mode: difference;
    }


    .marquee-outer {
      overflow: hidden;
      width: 100%;
    }

    .marquee-inner {
      display: flex;
      align-items: center;
      transform: translateZ(0);
      /* GPU layer without will-change overhead */
    }

    .marquee-set {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .marquee-block {
      display: inline-flex;
      align-items: baseline;
      /* gap: 0.5em; */
      flex-shrink: 0;
      padding: 0;

    }

    .huge-title.marquee-item {
      white-space: nowrap;
      flex-shrink: 0;
    }

    .marquee-label {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(0.875rem, 1vw, 1.2rem);
      font-weight: 400;
      color: #fff;
      white-space: nowrap;
      letter-spacing: 0.05em;
      line-height: 1;
      flex-shrink: 0;
      /* border-top: 1px solid rgba(255,255,255,0.3);
      border-bottom: 1px solid rgba(255,255,255,0.3); */
      padding: 0.35em 0;
      align-self: center;
    }

    .marquee-sep {
      font-size: 4vw;
      color: rgba(255, 255, 255, 0.35);
      margin: 0 2.5vw;
      flex-shrink: 0;
      line-height: 1;
    }

    .section-2-content .huge-title,
    .new-text-group .huge-title {
      /* font-family: 'Zalando Sans SemiExpanded', 'DM Sans', sans-serif; */
      font-family: "Bitcount Grid Single", monospace;
      font-stretch: semi-expanded;
      font-size: 10vw;
      /* font-weight: 600; */
      font-weight: 400;
      line-height: 1;
      text-align: center;
      margin: 0;
      color: #ffffff;
      white-space: nowrap;
    }

    .section-2-content .title-outline,
    .new-text-group .title-outline {
      color: #fff;
    }

    .section-2-content .desc,
    .new-text-group .desc {
      font-size: 14px;
      color: #ccc;
      max-width: 400px;
      text-align: center;
      line-height: 1.8;
      /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
      margin-top: 30px;
    }

    .title-reveal-wrap {
      overflow: hidden;
      display: block;
    }

    .new-text-group {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-top: 50px;
      pointer-events: none;
      z-index: 31;
      opacity: 0;
      overflow: hidden;
    }

    .text-blend {
      mix-blend-mode: difference;
    }

    @media (max-width: 768px) {
      .dark-wrapper-mask {
        display: none !important;
      }

      .dark-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: transparent;
        overflow: visible;
        clip-path: none !important;
        contain: none;
      }

      .dark-wrapper>*:not(.scene-wrapper) {
        display: none !important;
      }

      .scene-wrapper {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
      }

      .dark-wrapper>video {
        opacity: 0.14 !important;
      }

      .dark-wrapper .glow-bottom-left,
      .dark-wrapper .glow-center-left {
        display: none;
      }

      .dark-wrapper .scroll-indicator {
        display: none;
      }

      html.is-dark-wrapper-mobile-intro #scroll-progress,
      html.is-dark-wrapper-mobile-intro #fixed-logo,
      html.is-dark-wrapper-mobile-intro #menu-btn,
      html.is-dark-wrapper-mobile-intro #nav_scroll_container,
      html.is-dark-wrapper-mobile-intro .overlay-ui,
      html.is-dark-wrapper-mobile-intro .stm-section {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
      }

      nav.dark-nav {
        width: 90vw;
        left: 5vw;
        right: auto;
        justify-content: space-between;
        gap: 10px;
      }

      .intro-panel {
        overflow: hidden;
      }

      .intro-panel .ip-top-header {
        display: none;
      }

      .intro-panel .dual-wave-wrapper {
        width: calc(100vw - 12px);
        gap: 0;
        padding: 0 6px;
        justify-content: space-between;
      }

      .intro-panel .wave-column {
        flex: 0 0 22.5vw;
        max-width: 22.5vw;
        gap: clamp(12px, 3.2vw, 15px);
        font-size: clamp(9px, 2.4vw, 11px);
        line-height: 1;
        letter-spacing: 0;
      }

      .intro-panel .animated-text {
        color: rgba(255, 255, 255, 0.22);
      }

      .intro-panel .animated-text.focused {
        color: rgba(255, 255, 255, 0.94);
      }

      .intro-panel .animated-text .at-en {
        transform: none !important;
      }

      .intro-panel .animated-text .at-zh {
        display: none;
      }

      .intro-panel .wave-column-right .animated-text .flip-wrap {
        display: none;
      }

      .intro-panel .wave-column-right .animated-text::before {
        display: block;
      }

      .intro-panel .wave-column-right .animated-text:nth-child(1)::before {
        content: "CORE-SITE";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(2)::before {
        content: "GEN-AI VISUAL";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(3)::before {
        content: "MOTION FLOW";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(4)::before {
        content: "WEBGL REALM";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(5)::before {
        content: "3D MATRIX";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(6)::before {
        content: "INTERACTION";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(7)::before {
        content: "PIXEL PERFECT";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(8)::before {
        content: "LOGIC BUILD";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(9)::before {
        content: "FLUID UI";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(10)::before {
        content: "AERO DESIGN";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(11)::before {
        content: "PURE CODE";
      }

      .intro-panel .wave-column-right .animated-text:nth-child(12)::before {
        content: "DIGITAL ART";
      }

      .intro-panel .image-thumbnail-wrapper {
        top: 54%;
        width: min(51vw, 220px);
        gap: 0;
        z-index: 90;
      }

      .intro-panel .ip-thumb-line {
        display: none;
      }

      .intro-panel .image-thumbnail {
        width: min(51vw, 220px);
        height: min(38.25vw, 165px);
        max-width: none;
        max-height: none;
        object-fit: cover;
        display: block;
      }

      .ip-top-chapter1 {
        top: 54%;
        width: auto;
        font-size: clamp(9px, 2.5vw, 11px);
        line-height: 1;
        white-space: nowrap;
        transform: translate(-50%, -50%);
        z-index: 120;
      }

      .scene {
        --scene-size: 120px;
        --scene-depth: 60px;
      }

      .stm-logo,
      .stm-section {
        display: none !important;
      }

      .face-title {
        font-size: var(--text-base);
        margin-bottom: 8px;
      }

      .face-subtitle {
        font-size: var(--text-2xs);
      }

      .link-btn {
        font-size: var(--text-2xs);
        padding: 3px 8px;
      }

      .section-2-content .huge-title,
      .new-text-group .huge-title {
        font-size: 20vw;
      }

      .section-2-content .desc,
      .new-text-group .desc {
        padding: 0 20px;
      }

      /* services-list: no wrapping on mobile */
      .services-list li,
      .services-list.services-list_en.bordered li {
        white-space: nowrap;
      }

      /* hide "Strategy, Design..." tagline on mobile */
      .bottom-footer .footer-col:nth-child(1) {
        display: none !important;
      }

      /* shift remaining cols to fill the gap */
      .bottom-footer .footer-col:nth-child(2) {
        grid-column: 1;
        overflow: visible !important;
      }

      .bottom-footer .footer-col:nth-child(3) {
        grid-column: 4;
      }
      .bottom-footer{
              align-items: start;
      }
      
      /*.overlay-ui {padding: 2vw 3vw;}*/
    }

    /* =========================================================
       SECTION STM: SCROLL TEXT MOTION
       ========================================================= */
    .stm-section {
      position: relative;
      background: transparent;
      overflow: visible;
      pointer-events: none;
      z-index: 25;
   padding-bottom: clamp(10vh, calc(241.2vh - 2265px), 800px);
    }

    .stm-section .stm-el {
      pointer-events: auto;
    }

    .stm-content {
      position: relative;
      z-index: 25;
      padding: 10vh 1.5rem 15vh;
      transform: translateZ(0);
      will-change: transform, opacity;
      contain: paint;
    }

    .stm-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 10vh;
    }

    .stm-el {
      white-space: nowrap;
      filter: blur(0px);
      text-transform: uppercase;
      opacity: 0.6;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: #fff;
      mix-blend-mode: difference;
    }

    .stm-el--xl {
      font-size: clamp(2rem, 20vw, 15rem);
      opacity: 1;
      font-family: 'Bitcount Grid Single', sans-serif;
      font-weight: 400;
      mix-blend-mode: difference;
    }

    .stm-pos-2 {
      margin-left: 25vw;
    }

    .stm-pos-3 {
      margin-left: 70vw;
    }

    .stm-pos-4 {
      margin-left: auto;
    }

    .stm-pos-5 {
      margin-top: 200px;
      opacity: 1;
    }

    .stm-pos-6 {
      margin-left: auto;
      margin-top: 200px;
      opacity: 1;
    }

    .stm-pos-7 {
      margin-top: 200px;
      opacity: 1;
      filter: blur(1.2px);
    }

    .stm-pos-8 {
      margin-left: 25vw;
      margin-top: 50px;
      opacity: 1;
      filter: blur(2px);
    }

    .stm-pos-9 {
      margin-left: 25vw;
      margin-top: 250px;
    }

    .stm-pos-10 {
      margin-left: 70vw;
      margin-top: 40vh;
    }

    .stm-logo {
      display: grid;
      place-items: center;
      width: 100%;
      height: 100vh;
      pointer-events: none;
      position: fixed;
      left: 0;
      top: 0;
      z-index: 40;
      opacity: 0;
      transition: opacity 0.5s;
    }

    .stm-logo img {
      width: clamp(120px, 20vw, 60px);
      height: auto;
      display: block;
    }

    .stm-logo.is-visible {
      opacity: 1;
    }

    @keyframes blink-cursor {

      from,
      to {
        opacity: 1;
      }

      50% {
        opacity: 0;
      }
    }

    .stm-typing {
      display: inline-block;
      animation: blink-cursor 0.7s linear infinite;
    }

    /* =========================================================
         SECTION 3: CORE CAPABILITIES
         ========================================================= */
    .ccap-section {
      position: relative;
      overflow: hidden;
      background: var(--color-bg);
      color: #fff;
    }

    #core-capabilities {
      position: relative;
      height: 100vh;
      overflow: hidden;
      background: var(--color-bg);
      z-index: 30;
    }

    .ring-gallery-sticky {
      position: sticky;
      top: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      background: var(--color-bg);
      isolation: isolate;
    }

    .ring-gallery-sticky::before,
    .ring-gallery-sticky::after {
      content: '';
      position: absolute;
      left: 0;
      width: 100%;
      height: clamp(96px, 18vh, 220px);
      pointer-events: none;
      z-index: 3;
    }

    .ring-gallery-sticky::before {
      top: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0) 100%);
    }

    .ring-gallery-sticky::after {
      bottom: 0;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.78) 36%, rgba(0, 0, 0, 0) 100%);
    }

    .ccap-side-fade {
      position: absolute;
      top: 0;
      bottom: 0;
      width: clamp(72px, 10vw, 180px);
      pointer-events: none;
      z-index: 3;
    }

    .ccap-side-fade-left {
      left: 0;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.68) 36%, rgba(0, 0, 0, 0) 100%);
    }

    .ccap-side-fade-right {
      right: 0;
      background: linear-gradient(270deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.68) 36%, rgba(0, 0, 0, 0) 100%);
    }

    .ccap-exit-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: #000;
      opacity: 0;
      pointer-events: none;
      will-change: opacity;
    }

    #sketch {
      position: absolute;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: var(--color-bg);
    }

    #sketch canvas {
      display: block;
      width: 100%;
      height: 100%;
      opacity: .7;
    }

    .hero-dom {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(24px, 4vw, 48px);
      pointer-events: none;
      opacity: 1;
      will-change: opacity;
    }

    #core-capabilities main {
      position: relative;
      width: min(100%, 1400px);
      min-height: 100vh;
      margin: 0 auto;
      padding: clamp(24px, 4vw, 48px) 4vw;
      display: flex;
      flex-direction: column;
      justify-content: center;
      will-change: transform;
      transform-origin: 50% 50%;
    }

    /* stm section 底部漸層 → 黑色消融進 ccap */
    .stm-section::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 40vh;
      background: linear-gradient(to bottom, transparent 0%, #000 100%);
      pointer-events: none;
      z-index: 0;
    }

    #core-capabilities .reveal-wrap {
      overflow: hidden;
      display: inline-flex;
      vertical-align: top;
    }

    #core-capabilities .reveal-inner {
      display: inline-block;
      transform: translateY(110%);
      will-change: transform;
      transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);

    }

    #core-capabilities.is-revealed .reveal-inner {
      transform: translateY(0);
    }

    #core-capabilities .top-nav .nav-left .reveal-inner {
      transition-delay: 0.05s;
    }

    #core-capabilities .top-nav .nav-center .reveal-inner {
      transition-delay: 0.12s;
    }

    #core-capabilities .top-nav .nav-right .reveal-inner {
      transition-delay: 0.19s;
    }

    #core-capabilities .giant-title .reveal-inner {
      transition-duration: 1.1s;
      transition-delay: 0.15s;
    }

    #core-capabilities .sub-title .reveal-wrap:nth-of-type(1) .reveal-inner {
      transition-delay: 0.25s;
    }

    #core-capabilities .sub-title .reveal-wrap:nth-of-type(2) .reveal-inner {
      transition-delay: 0.32s;
    }

    #core-capabilities .service-label .reveal-inner {
      transition-delay: 0.6s;
    }

    #core-capabilities .service-tags .reveal-wrap:nth-child(1) .reveal-inner {
      transition-delay: 0.7s;
    }

    #core-capabilities .service-tags .reveal-wrap:nth-child(2) .reveal-inner {
      transition-delay: 0.74s;
    }

    #core-capabilities .service-tags .reveal-wrap:nth-child(3) .reveal-inner {
      transition-delay: 0.78s;
    }

    #core-capabilities .service-tags .reveal-wrap:nth-child(4) .reveal-inner {
      transition-delay: 0.82s;
    }

    #core-capabilities .footer-desc .reveal-wrap:nth-of-type(1) .reveal-inner {
      transition-delay: 0.8s;
    }

    #core-capabilities .footer-desc .reveal-wrap:nth-of-type(2) .reveal-inner {
      transition-delay: 0.87s;
    }

    #core-capabilities .footer-desc .reveal-wrap:nth-of-type(3) .reveal-inner {
      transition-delay: 0.94s;
    }

    #core-capabilities .media-box,
    #core-capabilities .center-video-box {
      transition: clip-path 1.1s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    #core-capabilities.is-revealed .media-box,
    #core-capabilities.is-revealed .center-video-box {
      clip-path: inset(0% 0 0 0);
    }

    #core-capabilities .top-nav {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      padding: 1vw 0;
      font-size: 0.75rem;
      letter-spacing: 0.05em;
      color: #a0a0a0;
      margin-bottom: 2vw;
      align-items: start;
      border-bottom: 1px solid #ffffff1f;
    }

    #core-capabilities .nav-left {
      justify-self: start;
      line-height: 1.6;
    }

    #core-capabilities .nav-center {
      justify-self: center;
    }

    #core-capabilities .nav-right {
      justify-self: end;
    }

    #core-capabilities .giant-title {
      text-align: center;
      font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, sans-serif;
      font-size: 5rem;
      font-weight: 700;
      /* letter-spacing: 0.02em; */
      line-height: 1;
      margin: 0 0 0 0;
      white-space: nowrap;
    }

    #core-capabilities .sub-title {
      text-align: center;
      font-size: 0.85rem;
      line-height: 1.6;
      letter-spacing: 0.02em;
      color: #ffffff;
      margin: 2vw 0 1vw 0;
    }

    #core-capabilities .media-gallery {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      width: 100%;
      margin-bottom: 3vw;
    }

    #core-capabilities .media-track {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5vw;
      padding: 0;
      flex-shrink: 0;
      width: 100%;
      margin: 0 auto;
    }

    /* center-divider: inline in track */
    #core-capabilities .center-divider {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      width: clamp(96px, 10vw, 160px);
    }

    /* media-box & center-video-box shared */
    #core-capabilities .media-box {
      width: 13vw;
      aspect-ratio: 16 / 9;
      background-color: #d9d9d9;
      position: relative;
      clip-path: inset(100% 0 0 0);
    }

    #core-capabilities .media-box img,
    #core-capabilities .media-box video,
    #core-capabilities .center-video-box img,
    #core-capabilities .center-video-box video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    #core-capabilities .center-video-box {
      /* width: clamp(82px, 7vw, 124px); */
      width: 120px;
      position: relative;
      clip-path: inset(100% 0 0 0);
      mix-blend-mode: lighten;
      background: transparent;
    }

    #core-capabilities .center-video-box video {
      mix-blend-mode: lighten;
      background: transparent;
    }

    #core-capabilities .service-label {
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }

    .text1vw .reveal-inner {
      font-size: clamp(0.875rem, 1vw, 1.2rem);
      font-weight: 400;
      color: #fff;
      white-space: nowrap;
      letter-spacing: 0.05em;
      line-height: 1;
    }

    .text1vw {
      font-size: clamp(0.875rem, 1vw, 1.2rem);
      font-weight: 400;
      color: #fff;
      white-space: nowrap;
      letter-spacing: 0.05em;
      line-height: 1;
    }


    #core-capabilities .service-tags {
      display: flex;
      justify-content: center;
      gap: 1.5vw;
      font-size: 0.85rem;
      color: #a0a0a0;
      margin-bottom: 2vw;
      letter-spacing: 0.05em;
    }

    #core-capabilities .footer-desc {
      text-align: center;
      font-size: 0.85rem;
      line-height: 1.8;
      color: #a0a0a0;
      max-width: 600px;
      margin: 0 auto 5vw auto;
    }

    @media (max-width: 900px) {
      .hero-dom {
        padding: 24px 20px;
      }

      #core-capabilities main {
        padding: 24px 20px;
      }

      #core-capabilities .top-nav {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
      }

      #core-capabilities .nav-center {
        display: none;
      }

      #core-capabilities .giant-title {
        font-size: 14vw;
        margin-top: 5vw;
      }

      #core-capabilities .media-gallery {
        gap: 3vw;
      }

      #core-capabilities .media-track {
        width: 100%;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3vw;
      }

      #core-capabilities .media-box {
        width: 45%;
      }

      #core-capabilities .center-divider {
        width: 100%;
        order: -1;
        margin-bottom: 2rem;
      }

      #core-capabilities .center-video-box {
        width: 82px;
      }

      #core-capabilities .service-tags {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }

      #core-capabilities .footer-desc {
        padding: 0 5vw;
      }
    }

    @media (max-width: 767px) {

      #core-capabilities,
      .ring-gallery-sticky,
      #sketch {
        touch-action: pan-y;
      }
    }

    #s3-gallery {
      position: relative;
      z-index: 3;
    }

    /* =========================================================
       SECTION 3: PARALLAX GALLERY
       ========================================================= */

    .s3-gallery-section {
      position: relative;
      background: #000;
      isolation: isolate;
    }

    .s3-gallery-section::before,
    .s3-gallery-section::after {
      content: '';
      position: absolute;
      left: 0;
      width: 100%;
      height: clamp(96px, 18vh, 220px);
      pointer-events: none;
      z-index: 4;
    }

    .s3-gallery-section::before {
      top: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0) 100%);
    }

    .s3-gallery-section::after {
      bottom: 0;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.78) 36%, rgba(0, 0, 0, 0) 100%);
    }

    .gallery-header-video {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .gallery-header-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      opacity: 0.5;
    }

    @media (max-width: 768px) {
      .gallery-header-video {
        display: none;
      }
    }

    .gallery-header {
      position: sticky;
      top: 0;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      text-align: center;
      padding: 0 4vw;
      background: #000;
    }

    .gallery-header-label {
      position: relative;
      z-index: 2;
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(10px, 1vw, 13px);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.35);
      margin-bottom: 3vh;
    }

    .gallery-header-title {
      position: relative;
      z-index: 2;
      font-family: 'Zalando Sans SemiExpanded', sans-serif;
      font-size: clamp(3rem, 8vw, 5rem);
      font-weight: 700;
      color: #fff;
      margin: 0 0 1.5rem;
      line-height: 1.05;
      text-transform: uppercase;
    }

    .gh-side-rails {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
    }

    .gh-side-rail {
      position: absolute;
      top: 50%;
      display: flex;
      align-items: center;
      gap: clamp(18px, 2.4vw, 40px);
      transform: translateY(-50%);
      color: rgba(255, 255, 255, 0.94);
      will-change: transform, opacity;
    }

    .gh-side-rail-left {
      left: 4vw;
    }

    .gh-side-rail-right {
      right: 4vw;
      flex-direction: row-reverse;
    }

    .gh-side-letter {
      font-family: 'Zalando Sans SemiExpanded', sans-serif;
      font-size: clamp(2.8rem, 4.6vw, 4.8rem);
      font-weight: 700;
      line-height: 0.9;
      letter-spacing: -0.03em;
    }

    .gh-side-line {
      width: clamp(120px, 12vw, 210px);
      height: 1px;
      background: rgba(255, 255, 255, 0.42);
      will-change: transform, opacity;
    }

    .gh-side-rail-left .gh-side-line {
      transform-origin: right center;
    }

    .gh-side-rail-right .gh-side-line {
      transform-origin: left center;
    }

    @media (max-width: 900px) {
      .gh-side-rails {
        display: none;
      }
    }

    .gallery-header-title.exit-zoom-blur {
      will-change: transform, opacity;
      transition: transform 0.6s, filter 0.6s, opacity 0.6s;
      transform: scale(0.7);
      filter: blur(12px);
      opacity: 0;
      pointer-events: none;
    }

    .gh-line {
      display: block;
    }

    .gallery-header-sub {
      position: relative;
      z-index: 2;
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(10px, 1vw, 14px);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.3);
      margin: 0;
    }

    .pg-gallery {
      position: relative;
      z-index: 2;
      width: 100%;
      margin: 0 auto;
      padding: 0 4vw 22vh;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      column-gap: 2vw;
      row-gap: 12vw;
    }

    .pg-item {
      position: relative;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .pg-hover-copy {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: clamp(18px, 2.2vw, 34px);
      pointer-events: none;
      color: #fff;
      mix-blend-mode: difference;
    }

    .pg-hover-copy__veil {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.0) 42%, rgba(255, 255, 255, 0.1) 100%);
      opacity: 0;
      transform: scaleY(1.06);
      transform-origin: center bottom;
      transition:
        opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pg-hover-copy__eyebrow,
    .pg-hover-copy__title,
    .pg-hover-copy__sub {
      display: block;
      position: relative;
      z-index: 1;
      opacity: 0;
      filter: blur(8px);
      will-change: transform, opacity;
    }

    .pg-hover-copy__eyebrow,
    .pg-hover-copy__sub {
      font-family: var(--font-family-body);
      font-size: clamp(0.65rem, 0.62rem + 0.14vw, 0.82rem);
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
    }

    .pg-hover-copy__eyebrow {
      align-self: flex-start;
      clip-path: inset(0 0 100% 0);
      transform: translate3d(0, 20px, 0);
      transition:
        opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.62s cubic-bezier(0.16, 1, 0.3, 1),
        clip-path 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pg-hover-copy__body {
      display: grid;
      gap: 0.55rem;
      align-self: flex-start;
      max-width: min(88%, 28rem);
    }

    .pg-hover-copy__title-wrap {
      overflow: hidden;
      padding-bottom: 0.08em;
    }

    .pg-hover-copy__title {
      font-family: var(--font-family-display);
      font-size: clamp(2.1rem, 4.8vw, 4.8rem);
      font-weight: 600;
      line-height: 0.9;
      letter-spacing: -0.045em;
      text-transform: uppercase;
      clip-path: inset(100% 0 0 0);
      transform: translate3d(0, 42px, 0) skewY(7deg);
      transition:
        opacity 0.92s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.92s cubic-bezier(0.16, 1, 0.3, 1),
        clip-path 0.92s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pg-hover-copy__sub {
      max-width: 24rem;
      line-height: 1.55;
      letter-spacing: 0.1em;
      text-transform: none;
      clip-path: inset(0 0 100% 0);
      transform: translate3d(0, 24px, 0);
      transition:
        opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.78s cubic-bezier(0.16, 1, 0.3, 1),
        clip-path 0.78s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* ★ 預設為可見（fallback）：若 GSAP / JS 在 LINE 等內建瀏覽器載入失敗或延遲，
       圖片仍會正常顯示，只是沒有進場動畫，而不是整塊空白。 */
    .pg-img-wrap {
      position: relative;
      width: 100%;
      flex: 1;
      overflow: hidden;
      background-color: #0d0d0d;
      border-radius: 2px;
    }

    /* ★ 只有確認 GSAP 就緒（已加上 pg-anim-ready）後才裁切，準備進場遮罩動畫。 */
    html.pg-anim-ready .pg-img-wrap {
      clip-path: inset(100% 0% 0% 0%);
    }

    /* ★ 高度加大到 140%，負值 -20%，為平移預留足夠空間，絕對不露黑底 */
    .pg-img-wrap img {
      position: absolute;
      top: -20%;
      left: 0;
      width: 100%;
      height: 140%;
      object-fit: cover;
      will-change: transform;
    }

    .pg-item-1 {
      grid-column: 1 / 6;
      grid-row: 1;
      height: 27.9vw;
    }

    .pg-item-2 {
      grid-column: 7 / 13;
      grid-row: 2;
      height: 33.75vw;
    }

    .pg-item-3 {
      grid-column: 4 / 10;
      grid-row: 3;
      height: 33.75vw;
    }

    .pg-item-4 {
      grid-column: 1 / 6;
      grid-row: 4;
      height: 27.9vw;
    }

    .pg-item-5 {
      grid-column: 7 / 13;
      grid-row: 5;
      height: 33.75vw;
    }

    .pg-item-6 {
      grid-column: 4 / 10;
      grid-row: 6;
      height: 33.75vw;
    }

    /* ── Scroll-driven Card Gallery ── */
    .gallery-cards-wrap {
      position: sticky;
      top: 0;
      height: 100vh;
      width: 100%;
      overflow: hidden;
      z-index: 2;
      pointer-events: none;
      margin-top: -100vh;
      /* overlap with gallery-header sticky layer */
    }

    .gc-card {
      position: absolute;
      left: var(--gc-l);
      top: var(--gc-t);
      width: var(--gc-w);
      height: var(--gc-h);
      border-radius: 10px;
      overflow: hidden;
      opacity: 0;
      will-change: transform, opacity;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    }

    .gc-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    @media (max-width: 768px) {
      .gallery-header {
        position: relative;
        top: auto;
        height: auto;
        z-index: 4;
      }

      .pg-gallery {
        display: flex;
        flex-direction: column;
        gap: 15vw;
        padding: 10vw;
      }

      .pg-item {
        height: 70vw !important;
        margin-top: 0 !important;
      }

      .pg-hover-copy {
        padding: 18px;
      }

      .pg-hover-copy__body {
        max-width: 100%;
      }

      .pg-hover-copy__title {
        font-size: clamp(1.9rem, 9vw, 3.2rem);
      }
    }

    @media (hover: none) {
      .pg-item--hover-story .pg-hover-copy__veil {
        opacity: 1;
        transform: scaleY(1);
      }

      .pg-item--hover-story .pg-hover-copy__eyebrow,
      .pg-item--hover-story .pg-hover-copy__title,
      .pg-item--hover-story .pg-hover-copy__sub {
        opacity: 1;
        filter: blur(0px);
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0) skewY(0deg);
      }
    }

    .intro-panel .at-en,
    .intro-panel .at-zh {
      display: block;
      transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }

    .intro-panel .flip-wrap {
      display: block;
      position: relative;
      clip-path: inset(-0.25em -9999px);
    }

    .intro-panel .at-zh {
      position: absolute;
      top: 0;
      left: 0;
      transform: translateY(130%);
      white-space: nowrap;
      color: inherit;
    }

    .intro-panel .animated-text:hover .at-en,
    .intro-panel .animated-text.focused .at-en {
      transform: translateY(-130%);
    }

    .intro-panel .animated-text:hover .at-zh,
    .intro-panel .animated-text.focused .at-zh {
      transform: translateY(0);
    }

    @media (max-width: 768px) {
      .intro-panel .animated-text {
        pointer-events: none;
      }

      .intro-panel .animated-text .at-en,
      .intro-panel .animated-text:hover .at-en,
      .intro-panel .animated-text.focused .at-en {
        display: block !important;
        transform: none !important;
      }

      .intro-panel .animated-text .at-zh,
      .intro-panel .animated-text:hover .at-zh,
      .intro-panel .animated-text.focused .at-zh {
        display: none !important;
        transform: translateY(130%) !important;
      }
    }

    /* 🎯 尊重使用者偏好:降低動態 → 關閉血量高的濾鏡 */
    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }

      .glow-bottom-left,
      .glow-center-left {
        filter: none;
      }
    }

/* ===== block ===== */
    /* 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;
      z-index: 9999;
      pointer-events: auto;
      mix-blend-mode: difference;
      opacity: 0;
    }

    #fixed-logo img {
      height: clamp(20px, 2.2vw, 25px);
      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: #efe6d8;
      --ns-menu-text: #171411;
      --ns-menu-accent: #c89a45;
      --ns-menu-line: rgba(23, 20, 17, 0.14);
      position: fixed;
      top: 30px;
      left: 50%;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      width: min(500px, calc(100vw - 80px));
      height: 64px;
      background-color: #141414;
      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: 22px;
      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(23vw, 390px));
      clip-path: inset(0% 0% 0% 100%);
    }

    .ns-showcase-row__thumb.is-right {
      left: calc(50% + min(10vw, 188px));
      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(9rem, 10vw, 11.5rem);
      }

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

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

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

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

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

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

      #fixed-logo {
        top: 50px
      }

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


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

      #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;
      }
    }

/* ===== block ===== */
    /* Loader CSS */
    #nudot-loader {
      position: fixed;
      inset: 0;
      z-index: 99999;
      overflow: hidden;
      color: #fff;
      pointer-events: auto;
      opacity: 1;
      visibility: visible;
      animation: ndLoaderShieldOff 0.01s linear 3.15s forwards;
    }

    #nudot-loader .nd-mask {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      transform: translate(-50%, -50%);
      background: transparent;
      box-shadow: 0 0 0 150vmax #080808;
      animation: ndBoxOpen 1.2s cubic-bezier(0.76, 0, 0.24, 1) 2.6s forwards;
    }

    @keyframes ndBoxOpen {
      0% {
        width: 0;
        height: 0;
      }

      15% {
        width: 7vw;
        height: 4vw;
      }

      100% {
        width: 300vmax;
        height: 300vmax;
      }
    }

    #nudot-loader .nd-logo {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 3;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    #nudot-loader .nd-letter {
      font-family: 'Zalando Sans SemiExpanded', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
      font-size: clamp(44px, 8vw, 104px);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    #nudot-loader .nd-n {
      opacity: 0;
      filter: blur(10px);
      transform: translateY(6px) scale(1.15);
      animation:
        ndLetterIn 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) 0.3s forwards,
        ndSpreadL 1.1s cubic-bezier(0.76, 0, 0.24, 1) 2.0s forwards,
        ndFadeOut 0.45s ease 2.9s forwards;
    }

    #nudot-loader .nd-d {
      opacity: 0;
      filter: blur(10px);
      transform: translateY(6px) scale(1.15);
      animation:
        ndLetterIn 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) 0.6s forwards,
        ndSpreadR 1.1s cubic-bezier(0.76, 0, 0.24, 1) 2.0s forwards,
        ndFadeOut 0.45s ease 2.9s forwards;
    }

    #nudot-loader .nd-icon {
      width: clamp(44px, 8vw, 104px);
      height: clamp(44px, 8vw, 104px);
      opacity: 1;
      transform: none;
      animation: ndIconOut 0.45s ease 2.0s forwards;
    }

    #nudot-loader .nd-icon video {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    @keyframes ndLetterIn {
      to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
      }
    }

    @keyframes ndIconOut {
      to {
        opacity: 0;
        transform: scale(0.5);
      }
    }

    @keyframes ndSpreadL {
      to {
        transform: translateX(calc(-50vw + 120px));
      }
    }

    @keyframes ndSpreadR {
      to {
        transform: translateX(calc(50vw - 120px));
      }
    }

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

    @keyframes ndLoaderShieldOff {
      to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }
    }

/* ===== block ===== */
        /* Typography system overrides */
        #core-capabilities .top-nav,
        #core-capabilities .service-label,
        #core-capabilities .service-tags,
        .gallery-header-label,
        .ns-menu-topline,
        .footer-info-bar,
        .footer-nav-links a {
          font-family: var(--font-family-body);
          font-size: var(--text-xs);
          letter-spacing: var(--tracking-meta);
          line-height: 1.4;
          text-transform: uppercase;
        }

        .gallery-header-label {
          font-size: var(--text-xs);
        }

        .ns-dropdown__eyebrow,
        .ns-menu-link-sub,
        .ns-dropdown__label,
        .ns-showcase-row__index {
          font-family: var(--font-family-body);
          font-size: var(--text-2xs);
          letter-spacing: var(--tracking-caps);
          line-height: 1.4;
          text-transform: uppercase;
        }

        #core-capabilities .giant-title,
        .gallery-header-title,
        .gh-side-letter,
        .ns-menu-link-title,
        .ns-dropdown__headline,
        .footer-brand-title,
        .footer-copyright-bridge span {
          font-family: var(--font-family-display);
        }

        #core-capabilities .giant-title {
          font-size: clamp(2.5rem, 1.35rem + 2.875vw, 5rem);
          letter-spacing: var(--tracking-brand);
          line-height: var(--leading-tight);
        }

        .gallery-header-title {
          font-size: clamp(2.5rem, 1.35rem + 2.875vw, 5rem);
          letter-spacing: var(--tracking-brand);
          line-height: 1.05;
        }

        .gh-side-letter {
          font-size: var(--text-display-sm);
          letter-spacing: var(--tracking-display);
          line-height: 0.9;
        }

        .ns-menu-link-title {
          font-size: var(--text-display-xs);
          letter-spacing: var(--tracking-brand);
          line-height: var(--leading-tight);
        }

        .ns-dropdown__headline {
          font-size: var(--text-md);
          letter-spacing: var(--tracking-label);
          line-height: 1.25;
        }

        .footer-brand-title {
          font-size: var(--text-display-lg);
          line-height: var(--leading-display);
          letter-spacing: var(--tracking-brand);
        }

        .footer-copyright-bridge span {
          font-size: clamp(6rem, 12vw, 11.25rem);
          line-height: var(--leading-tight);
        }

        #core-capabilities .sub-title,
        #core-capabilities .footer-desc,
        .ns-dropdown__copy, {
          font-family: var(--font-family-body);
          font-size: var(--text-sm);
          letter-spacing: var(--tracking-copy);
          line-height: var(--leading-body);
        }
        .footer-description{
            font-family: var(--font-family-body);
           font-size: var(--text-xs);
             letter-spacing: var(--tracking-copy);
          line-height: var(--leading-body);
        }

      

        @media (max-width: 900px) {
          #core-capabilities .giant-title {
            font-size: 10vw;
          }
        }

        @media (max-width: 768px) {

          #core-capabilities .top-nav,
          .footer-brand-title,
          .footer-info-bar {
            display: none;
          }

          .footer-video-thumb {
            width: auto;
            max-width: none;
          }

          .footer-info-bar,
          .footer-nav-links a {
           color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.2s;
          }
        }
/* ===== İÇ SAYFA FOOTER DÜZELTMESİ (content/contact namespace) ===== */
/* Parallax arka planı JS'e bağımlı olmasın: varsayılanı CSS'te ver */
.footer-parallax-bg { --footer-bg-image: url("/assets/nudot/images/footer.webp"); }
/* İç sayfalarda footer içeriği JS reveal'a bağlı kalmadan her zaman görünür */
[data-barba-namespace="content"] .site-footer .footer-info-bar span *,
[data-barba-namespace="contact"] .site-footer .footer-info-bar span *,
[data-barba-namespace="content"] .site-footer .footer-nav-links a,
[data-barba-namespace="contact"] .site-footer .footer-nav-links a,
[data-barba-namespace="content"] .site-footer .footer-description,
[data-barba-namespace="contact"] .site-footer .footer-description,
[data-barba-namespace="content"] .site-footer .footer-contact-info a,
[data-barba-namespace="contact"] .site-footer .footer-contact-info a,
[data-barba-namespace="content"] .site-footer .footer-contact-info span,
[data-barba-namespace="contact"] .site-footer .footer-contact-info span {
  transform: none !important;
  opacity: 1 !important;
  clip-path: none !important;
}
[data-barba-namespace="content"] .footer-video-cover,
[data-barba-namespace="contact"] .footer-video-cover { transform: scaleX(0) !important; }

/* ===== Footer: arka plan görseli + gradyan + büyük marka yazısı ===== */
.footer-parallax-section { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.footer-hero-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04); z-index: 0;
}
.footer-hero-grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.78) 100%);
}
.footer-brand-huge {
  position: relative; z-index: 2;
  font-family: "komet", "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(3.4rem, 15vw, 15rem); line-height: .82; letter-spacing: -.035em;
  text-align: center; color: #fff; opacity: .96; text-transform: none;
  text-shadow: 0 8px 40px rgba(0,0,0,.5);
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ===== Preloader: video yerine muslumdemirkul_foto kareleri (hızlı crossfade) ===== */
#nudot-loader .nd-icon--foto { position: relative; overflow: hidden; border-radius: 10px; background: #111; }
#nudot-loader .nd-icon--foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: ndFotoCycle 2.7s linear infinite;
}
#nudot-loader .nd-icon--foto img:nth-child(1) { animation-delay: 0s; }
#nudot-loader .nd-icon--foto img:nth-child(2) { animation-delay: .9s; }
#nudot-loader .nd-icon--foto img:nth-child(3) { animation-delay: 1.8s; }
@keyframes ndFotoCycle {
  0% { opacity: 0; } 8% { opacity: 1; } 33% { opacity: 1; } 41% { opacity: 0; } 100% { opacity: 0; }
}


/* ================================================================
   SAYFA STİLLERİ — PHP içindeki <style> bloklarından taşındı (SEO)
   ================================================================ */

/* ── index.php ── */
/* Basit hero slider — WebGL render etmese de görsel garanti.
     WebGL'i display:none yapmıyoruz (0-boyut canvas JS'i kırabilir); visibility ile gizliyoruz. */
  #webgl-container { visibility: hidden !important; }
  .simple-hero { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #060607; }
  .simple-hero .sh-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.05); transition: opacity 1.6s ease, transform 6s ease;
  }
  .simple-hero .sh-slide.is-active { opacity: 1; transform: scale(1); }

  /* Kontrasta duyarlı yazı: nudot'un difference blend'i kapalı (yeşilde macenta veriyor).
     Her yazı elemanı JS ile kendi arkasındaki bölgenin parlaklığına göre siyah/beyaz olur. */
  .hero-section .overlay-ui, .hero-section .overlay-ui *,
  .hero-section .bottom-ui-container, .hero-section .bottom-ui-container * { mix-blend-mode: normal !important; }
  /* varsayılan (JS ölçene kadar): beyaz yazı + hafif koyu gölge */
  .hero-section .overlay-top, .hero-section .overlay-top *,
  .hero-section .overlay-bottom, .hero-section .overlay-bottom *,
  .hero-section .bottom-ui-container, .hero-section .bottom-ui-container * { color: #fff; }
  .hero-section .overlay-ui, .hero-section .bottom-ui-container { text-shadow: 0 1px 12px rgba(0,0,0,.30); }

/* ── icerik.php ── */
/* ── Ortak iç sayfa kabuğu: hero banner + hafif siyah gradyan + başlık ── */
  .ip-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end;
             overflow: hidden; background: #060607; }
  .ip-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center;
                    transform: scale(1.04); }
  .ip-hero__grad { position: absolute; inset: 0;
                   background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.72) 100%); }
  .ip-hero.no-img .ip-hero__grad {
                   background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.05), transparent 60%),
                               linear-gradient(180deg, #0a0a0c, #060607); }
  .ip-hero__inner { position: relative; z-index: 2; width: min(1200px,90vw); margin: 0 auto;
                    padding: 0 0 clamp(40px,6vh,72px); }
  .ip-crumb { font-family: "forma-djr-mono", monospace; font-size: 12px; letter-spacing: .15em;
              text-transform: uppercase; color: #cfcfcf; margin-bottom: 16px; }
  .ip-crumb a { color: #cfcfcf; text-decoration: none; } .ip-crumb a:hover { color: #fff; }
  .ip-title { font-family: "komet", "Space Grotesk", sans-serif; font-weight: 500; color: #fff;
              font-size: clamp(2.4rem, 7vw, 6rem); line-height: .98; letter-spacing: -.03em; margin: 0; }
  .ip-page { background: #060607; color: #ececec; padding: clamp(56px,9vh,110px) 0 120px; }
  .ip-wrap { width: min(1200px,90vw); margin: 0 auto; }
  .ip-empty { color: #888; font-family: "forma-djr-mono",monospace; }
  @media(max-width:900px){ .ip-hero{ min-height:44vh; } }

/* ── icerik/icerik1.php ── */
.ip-body { font-size: 1.08rem; line-height: 1.85; color: #c7c7c7; max-width: 68ch; }
  .ip-body h2 { color: #fff; font-family: "komet","Space Grotesk",sans-serif; font-size: clamp(1.6rem,3vw,2.2rem);
                margin: 0 0 .8em; letter-spacing: -.01em; }
  .ip-body h3 { color: #fff; font-family: "komet","Space Grotesk",sans-serif; margin: 2em 0 .6em; }
  .ip-body p { margin: 0 0 1.3em; } .ip-body a { color: #fff; }
  .ip-body strong { color: #fff; }
  .ip-body img { max-width: 100%; height: auto; border-radius: 10px; }
  .ip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 72px; }
  .ip-grid figure { margin: 0; overflow: hidden; border-radius: 10px; aspect-ratio: 4/5; cursor: zoom-in; }
  .ip-grid img { width: 100%; height: 100%; object-fit: cover; display: block;
                 transition: transform .7s cubic-bezier(.2,.7,.2,1); }
  .ip-grid figure:hover img { transform: scale(1.06); }
  @media(max-width:900px){ .ip-grid{ grid-template-columns:repeat(2,1fr);} }
  @media(max-width:560px){ .ip-grid{ grid-template-columns:1fr; } }
  .ip-lb { position: fixed; inset: 0; background: rgba(3,3,3,.94); display: none; align-items: center;
           justify-content: center; z-index: 99999; }
  .ip-lb.is-open { display: flex; }
  .ip-lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
  .ip-lb__close { position: absolute; top: 24px; right: 28px; background: none; border: 0; color: #fff;
                  font-size: 32px; cursor: pointer; }

/* ── icerik/iletisim1.php ── */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .ct-rows { display: flex; flex-direction: column; gap: 30px; }
  .ct-row { border-top: 1px solid #1e1e20; padding-top: 16px; }
  .ct-row h3 { font-family: "forma-djr-mono",monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8a8a8a; margin: 0 0 10px; font-weight: 400; }
  .ct-row a, .ct-row p { font-size: clamp(1.05rem,2.2vw,1.45rem); color: #fff; text-decoration: none; margin: 0; line-height: 1.35; }
  .ct-row a:hover { opacity: .6; }
  .ct-social { display: flex; gap: 22px; flex-wrap: wrap; }
  .ct-social a { font-size: 1rem; }
  .ct-map { width: 100%; height: 420px; border: 0; border-radius: 14px; margin-top: 56px; filter: grayscale(1) invert(.92) contrast(.9); }
  .ct-form-wrap h4 { font-family: "komet","Space Grotesk",sans-serif; color: #fff; font-size: 1.5rem; letter-spacing: -.01em; margin: 0 0 20px; }
  .custom-contact-us { padding: 0; border: 0; }
  .custom-contact-us .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .custom-contact-us input, .custom-contact-us textarea {
    width: 100%; box-sizing: border-box; background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff;
    padding: 15px 16px; margin-bottom: 12px; font-size: 15px; font-family: inherit; line-height: 1.4;
    transition: border-color .2s, background .2s;
  }
  .custom-contact-us textarea { resize: vertical; min-height: 130px; }
  .custom-contact-us input::placeholder, .custom-contact-us textarea::placeholder { color: #7f7f83; }
  .custom-contact-us input:focus, .custom-contact-us textarea:focus {
    outline: none; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06);
  }
  .custom-contact-us button {
    display: inline-block; margin-top: 6px; background: #fff; color: #060607; border: 0;
    border-radius: 999px; padding: 15px 40px; font-weight: 600; cursor: pointer; font-size: 15px;
    letter-spacing: .01em; transition: opacity .2s, transform .2s;
  }
  .custom-contact-us button:hover { opacity: .85; transform: translateY(-1px); }
  #notify_section { position: fixed; top: 20px; right: 20px; z-index: 999999; color: #fff; }
  @media(max-width:900px){ .ct-grid{ grid-template-columns:1fr; gap:44px; } .ct-map{ height:320px; } }
  @media(max-width:520px){ .custom-contact-us .cf-row { grid-template-columns: 1fr; } }

/* ── Kontrast yazı: renk değişimi yumuşak olsun ── */
.hero-section .overlay-top *, .hero-section .overlay-bottom *,
.hero-section .bottom-ui-container * { transition: color .45s ease, text-shadow .45s ease; }

/* ── Scroll header açılır menüsü: 12 kategori kaydırılabilir ── */
.ns-dropdown__inner { height: auto !important; min-height: 100%; }
.ns-menu-rows { grid-template-rows: none !important; grid-auto-rows: minmax(84px, 1fr); }
/* Büyük menü yazılarının yanındaki küçük "( kategori )" etiketleri kalksın */
.ns-showcase-row__index { display: none !important; }

/* ── Mouse takipçisi görünür olsun (nudot'ta dot gizli, halka sadece hover'da idi) ── */
#cursor-dot { opacity: 1 !important; }
#cursor-ring::before {
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

/* ── Yeni logo (yazılı olduğu için nudot ikonundan büyük olmalı) ── */
#fixed-logo img { height: clamp(80px, 9vw, 130px) !important; }
#nav_scroll .ns-logo img { height: 54px !important; }

/* ── Footer: Kiwi Ajans imzası ── */
.footer-credit {
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: .02em;
  color: #9a9a9a;
  text-align: center;
}
.footer-credit a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 1px;
  transition: opacity .2s;
}
.footer-credit a:hover { opacity: .7; }
