/* 单页展示站样式主文件：保留原页面视觉层级与响应式行为。 */

:root {
        --bg-top: #ececec;
        --brand-yellow: #efbb00;
        --brand-yellow-deep: #d9a700;
        --text: #111111;
        --muted: #676767;
        --card: #ffffff;
        --line: rgba(17, 17, 17, 0.12);
        --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        --radius-lg: 28px;
        --radius-md: 18px;
        --radius-sm: 12px;
        --container: min(1180px, calc(100vw - 48px));
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
        color: var(--text);
        background: var(--bg-top);
        min-width: 320px;
      }

      img {
        max-width: 100%;
        display: block;
      }

      .page {
        overflow: clip;
      }

      .container {
        width: var(--container);
        margin: 0 auto;
      }

      .section {
        position: relative;
      }

      /*
       * 首页顶部双场景 Hero：
       * - 默认保持“像海报一样停留”的静态构图。
       * - 真实素材层和假图预览层共用同一个槽位。
       * - 没有真实素材时，仍可通过假图预览层验证位置、节奏与交互。
       */
      .home-hero {
        position: relative;
        width: 100%;
        min-height: max(100svh, 760px);
        background: var(--brand-yellow);
        overflow: hidden;
        isolation: isolate;
      }

      .home-hero::before,
      .home-hero::after {
        content: "";
        position: absolute;
        pointer-events: none;
        border-radius: 999px;
        z-index: 0;
      }

      .home-hero::before {
        width: min(72vw, 980px);
        height: min(72vw, 980px);
        left: -18%;
        top: -18%;
        background: radial-gradient(circle, rgba(255, 222, 112, 0.28), transparent 62%);
      }

      .home-hero::after {
        width: min(48vw, 640px);
        height: min(48vw, 640px);
        right: -10%;
        top: 8%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 64%);
      }

      /*
       * 顶部导航从独立组件局部并回到 Hero 顶部空白区：
       * - 只占用顶部留白，不改 Hero 主视觉构图、文案、轮播或拖拽逻辑。
       * - 组件本身继续保留选中态、hover 态、bar 逻辑和跟手阴影语义。
       * - 这里仅做与 Hero 背景、层级和响应式的融合适配。
       */
      .home-hero__nav {
        position: fixed;
        top: max(14px, env(safe-area-inset-top, 0px));
        left: 50%;
        z-index: 14;
        width: min(100%, calc(100vw - 32px));
        display: flex;
        justify-content: center;
        transform: translateX(-50%);
        pointer-events: none;
        transition: transform 0.32s ease, opacity 0.32s ease;
      }

      .hero-nav-shell {
        --shadow-x: 0px;
        --shadow-opacity: 0;
        --shadow-scale: 0.94;
        --nav-active-index: 0;
        --nav-hover-index: 0;
        position: relative;
        display: inline-flex;
        justify-content: center;
        padding-bottom: 54px;
        pointer-events: auto;
      }

      .hero-nav-wrap {
        --round: 16px;
        --p-x: 10px;
        --p-y: 8px;
        --w-label: 132px;
        position: relative;
        display: flex;
        align-items: center;
        padding: var(--p-y) var(--p-x);
        border-radius: var(--round);
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        isolation: isolate;
        transition:
          background-color 0.32s ease,
          box-shadow 0.32s ease,
          backdrop-filter 0.32s ease,
          -webkit-backdrop-filter 0.32s ease;
      }

      .hero-nav-wrap::-webkit-scrollbar {
        display: none;
      }

      .home-hero__nav:not(.is-scrolled) .hero-nav-wrap {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
      }

      .home-hero__nav.is-scrolled .hero-nav-wrap {
        background: rgba(255, 247, 228, 0.58);
        box-shadow:
          0 16px 34px rgba(45, 32, 22, 0.08),
          inset 0 0 0 1px rgba(90, 59, 46, 0.08);
        backdrop-filter: blur(14px) saturate(1.08);
        -webkit-backdrop-filter: blur(14px) saturate(1.08);
      }

      .hero-nav-label {
        position: relative;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--w-label);
        min-width: var(--w-label);
        padding: 13px 16px;
        border-radius: calc(var(--round) - var(--p-y));
        color: rgba(90, 59, 46, 0.9);
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.02em;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        user-select: none;
        transition: color 0.26s ease, transform 0.26s ease, opacity 0.26s ease;
        -webkit-tap-highlight-color: transparent;
      }

      .hero-nav-label:hover,
      .hero-nav-label:focus-visible {
        color: #2d2016;
        transform: translateY(-1px);
      }

      .hero-nav-label.is-current {
        color: #2d2016;
      }

      .hero-nav-slidebar {
        position: absolute;
        left: 10px;
        width: var(--w-label);
        height: calc(100% - (var(--p-y) * 4));
        border-radius: calc(var(--round) - var(--p-y));
        background: rgba(90, 59, 46, 0.08);
        box-shadow: 0 10px 18px rgba(45, 32, 22, 0.08);
        z-index: 1;
        opacity: 0;
        transform: translateX(calc(var(--nav-hover-index) * 100%));
        transition:
          transform 0.5s cubic-bezier(0.33, 0.83, 0.99, 0.98),
          opacity 0.2s ease;
      }

      .hero-nav-wrap:hover .hero-nav-slidebar,
      .hero-nav-wrap:focus-within .hero-nav-slidebar {
        opacity: 0.42;
      }

      .hero-nav-bar {
        position: absolute;
        left: 10px;
        width: var(--w-label);
        height: 100%;
        z-index: 2;
        pointer-events: none;
        transform: translateX(calc(var(--nav-active-index) * 100%));
        transition: transform 0.5s cubic-bezier(0.33, 0.83, 0.99, 0.98);
      }

      .hero-nav-bar::before,
      .hero-nav-bar::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 4px;
        background: #5a3b2e;
      }

      .hero-nav-bar::before {
        top: 0;
        border-radius: 0 0 999px 999px;
      }

      .hero-nav-bar::after {
        bottom: 0;
        border-radius: 999px 999px 0 0;
      }

      .hero-nav-hover-shadow {
        position: absolute;
        left: 0;
        bottom: -18px;
        width: 296px;
        height: 82px;
        transform: translateX(var(--shadow-x)) scale(var(--shadow-scale));
        transform-origin: center center;
        opacity: var(--shadow-opacity);
        pointer-events: none;
        z-index: 0;
        transition: opacity 0.22s ease;
      }

      .hero-nav-hover-shadow::before,
      .hero-nav-hover-shadow::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 999px;
        pointer-events: none;
      }

      .hero-nav-hover-shadow::before {
        background: radial-gradient(
          ellipse at center,
          rgba(33, 24, 18, 0.3) 0%,
          rgba(33, 24, 18, 0.18) 30%,
          rgba(33, 24, 18, 0.06) 48%,
          rgba(90, 59, 46, 0) 76%
        );
        filter: blur(18px);
      }

      .hero-nav-hover-shadow::after {
        inset: 12px 22px 4px;
        background: radial-gradient(
          ellipse at center,
          rgba(239, 187, 0, 0.24) 0%,
          rgba(239, 187, 0, 0.1) 32%,
          rgba(239, 187, 0, 0) 74%
        );
        filter: blur(18px);
      }

      .hero-nav-hover-outline {
        display: none !important;
      }

      .hero-stage {
        position: relative;
        width: min(1680px, calc(100vw - 24px));
        min-height: max(100svh, 820px);
        margin: 0 auto;
        z-index: 1;
        touch-action: pan-y;
        user-select: none;
      }

      .hero-stage[data-direction="forward"] {
        --text-enter-x: 56px;
        --text-leave-x: -56px;
      }

      .hero-stage[data-direction="backward"] {
        --text-enter-x: -56px;
        --text-leave-x: 56px;
      }

      .hero-stage.is-scene-dragging,
      .hero-stage.is-object-dragging {
        cursor: grabbing;
      }

      .hero-scene {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }

      .hero-scene.is-active,
      .hero-scene.is-preview {
        opacity: 1;
        visibility: visible;
      }

      .hero-scene.is-active {
        pointer-events: auto;
      }

      .hero-scene.is-preview {
        pointer-events: none;
      }

      .scene-layer {
        transition:
          opacity 0.38s ease,
          transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
          filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, opacity;
      }

      .hero-slot {
        position: absolute;
      }

      /*
       * 假图预览层始终保留在 DOM 中。
       * 当真实素材成功加载时，只是把预览层淡出，不删除结构，
       * 方便后续再次替换素材或在本地临时断开素材时继续测试。
       */
      .hero-slot__preview,
      .hero-slot__media {
        position: absolute;
        inset: 0;
      }

      .hero-slot__preview {
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.24s ease, visibility 0.24s ease;
      }

      .hero-slot__media {
        opacity: 0;
        pointer-events: none;
        z-index: 2;
        transition: opacity 0.24s ease;
      }

      .hero-slot.is-asset-ready .hero-slot__preview {
        opacity: 0;
        visibility: hidden;
      }

      .hero-slot.is-asset-ready .hero-slot__media {
        opacity: 1;
      }

      .hero-slot__image {
        display: block;
        width: 100%;
        height: 100%;
        pointer-events: none;
      }

      /*
       * 预览层里的元素虽然很多都是 span，但这里必须强制转成块级盒子。
       * 否则在无真图状态下，宽高不会按预期生效，容易退化成发白的矩形或细线。
       */
      .mock-text__title,
      .mock-text__subtitle,
      .mock-text__line,
      .mock-drinks__cup,
      .mock-drinks__shadow,
      .mock-bee__body,
      .mock-bee__wing,
      .mock-bee__eye,
      .mock-bee__mouth {
        display: block;
      }

      .hero-slot__image--text {
        object-fit: contain;
        object-position: left top;
      }

      .hero-slot__image--group {
        object-fit: contain;
        object-position: center;
      }

      .hero-slot__image--bee {
        object-fit: contain;
        object-position: left bottom;
      }

      .mock-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        width: 100%;
        height: 100%;
        padding: 18% 14% 14%;
      }

      .mock-text__title {
        width: 78%;
        height: 24%;
        min-height: 34px;
        border-radius: 999px;
        background: rgba(22, 22, 22, 0.84);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
      }

      .mock-text__subtitle {
        width: 54%;
        height: 14%;
        min-height: 16px;
        border-radius: 999px;
        background: rgba(22, 22, 22, 0.46);
      }

      .mock-text__line {
        height: 10%;
        min-height: 10px;
        border-radius: 999px;
        background: rgba(22, 22, 22, 0.14);
      }

      .mock-text__line:nth-child(3) {
        width: 92%;
      }

      .mock-text__line:nth-child(4) {
        width: 84%;
      }

      .mock-text__line:nth-child(5) {
        width: 66%;
      }

      .mock-drinks {
        position: relative;
        width: 100%;
        height: 100%;
      }

      .mock-drinks__cup {
        position: absolute;
        bottom: 10%;
        width: 18%;
        aspect-ratio: 0.6 / 1;
        border-radius: 24px 24px 18px 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.55));
        box-shadow: 0 18px 28px rgba(0, 0, 0, 0.1);
      }

      .mock-drinks__cup::before {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        top: 12%;
        height: 58%;
        border-radius: 18px 18px 14px 14px;
      }

      .mock-drinks__cup::after {
        content: "";
        position: absolute;
        left: 50%;
        top: -12%;
        width: 6%;
        height: 18%;
        border-radius: 999px;
        background: rgba(22, 22, 22, 0.24);
        transform: translateX(-50%);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(1) {
        left: 10%;
        bottom: 11%;
        transform: rotate(-4deg);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(2) {
        left: 28%;
        bottom: 7%;
        transform: rotate(-1deg);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(3) {
        left: 49%;
        bottom: 8%;
        transform: rotate(2deg);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(4) {
        left: 70%;
        bottom: 12%;
        transform: rotate(4deg);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(1)::before {
        background: linear-gradient(180deg, #a26a2c, #6c3d16);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(2)::before {
        background: linear-gradient(180deg, #b37b39, #7a471a);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(3)::before {
        background: linear-gradient(180deg, #7a4318, #4d250c);
      }

      .mock-drinks--cocoa .mock-drinks__cup:nth-child(4)::before {
        background: linear-gradient(180deg, #c28a45, #8c511e);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(1) {
        left: 8%;
        bottom: 11%;
        transform: rotate(-5deg);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(2) {
        left: 29%;
        bottom: 8%;
        transform: rotate(-1deg);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(3) {
        left: 50%;
        bottom: 9%;
        transform: rotate(2deg);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(4) {
        left: 71%;
        bottom: 12%;
        transform: rotate(5deg);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(1)::before {
        background: linear-gradient(180deg, #ffdf66, #f0b400);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(2)::before {
        background: linear-gradient(180deg, #ffe98d, #f8c720);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(3)::before {
        background: linear-gradient(180deg, #ffd447, #eea907);
      }

      .mock-drinks--fruit .mock-drinks__cup:nth-child(4)::before {
        background: linear-gradient(180deg, #fff0a0, #f5cd39);
      }

      .mock-drinks__shadow {
        position: absolute;
        left: 8%;
        right: 8%;
        bottom: 5%;
        height: 12%;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.14), transparent 72%);
        filter: blur(10px);
      }

      .mock-bee {
        position: relative;
        width: 100%;
        height: 100%;
      }

      .mock-bee__body {
        position: absolute;
        left: 24%;
        right: 24%;
        top: 24%;
        bottom: 14%;
        border-radius: 48% 48% 38% 38%;
        background: linear-gradient(180deg, #ffd959 0%, #efb500 100%);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
      }

      .mock-bee__body::before,
      .mock-bee__body::after {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        height: 10%;
        border-radius: 999px;
        background: rgba(22, 22, 22, 0.78);
      }

      .mock-bee__body::before {
        top: 34%;
      }

      .mock-bee__body::after {
        top: 54%;
      }

      .mock-bee__wing {
        position: absolute;
        top: 22%;
        width: 34%;
        height: 24%;
        border-radius: 50% 50% 42% 42%;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: inset 0 0 0 1px rgba(22, 22, 22, 0.08);
      }

      .mock-bee__wing--left {
        left: 10%;
        transform: rotate(-18deg);
      }

      .mock-bee__wing--right {
        right: 10%;
        transform: rotate(18deg);
      }

      .mock-bee__eye {
        position: absolute;
        top: 38%;
        width: 9%;
        height: 9%;
        border-radius: 999px;
        background: rgba(22, 22, 22, 0.82);
      }

      .mock-bee__eye--left {
        left: 37%;
      }

      .mock-bee__eye--right {
        right: 37%;
      }

      .mock-bee__mouth {
        position: absolute;
        left: 40%;
        right: 40%;
        bottom: 30%;
        height: 7%;
        border-radius: 0 0 999px 999px;
        background: rgba(22, 22, 22, 0.68);
      }

      .slot-group,
      .slot-bee {
        cursor: grab;
        touch-action: none;
      }

      .slot-group.is-object-dragging,
      .slot-bee.is-object-dragging {
        cursor: grabbing;
        z-index: 6;
      }

      .scene--cocoa .slot-text {
        left: 8.8%;
        top: 13.2%;
        width: clamp(300px, 30%, 500px);
        min-width: 280px;
        aspect-ratio: 1.85 / 1;
      }

      .scene--cocoa .slot-group {
        right: 3.5%;
        top: 20%;
        width: clamp(720px, 56%, 980px);
        max-width: 840px;
        aspect-ratio: 1.15 / 1;
      }

      .scene--fruit .slot-text {
        left: 8.8%;
        top: 13.2%;
        width: clamp(286px, 28%, 470px);
        min-width: 250px;
        aspect-ratio: 1.5 / 1;
      }

      .scene--fruit .slot-group {
        left: auto;
        right: -2%;
        top: 14%;
        width: clamp(760px, 74%, 1280px);
        max-width: 1280px;
        aspect-ratio: 1.55 / 1;
      }

      .scene--fruit .slot-bee {
        left: 8%;
        bottom: 3.5%;
        width: clamp(190px, 17%, 286px);
        min-width: 160px;
        aspect-ratio: 0.72 / 1;
      }

      .hero-scene .slot-text {
        opacity: 0;
        transform: translateX(var(--text-enter-x));
        filter: blur(8px);
      }

      .hero-scene .slot-group {
        opacity: 0;
        transform: translateY(24px) scale(1.02);
        filter: blur(8px);
      }

      .hero-scene .slot-bee {
        opacity: 0;
        transform: translate(-18px, 14px);
        filter: blur(8px);
      }

      .hero-scene.is-active .slot-text,
      .hero-scene.is-preview .slot-text {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
        transition-delay: 0.08s;
      }

      .hero-scene.is-active .slot-group,
      .hero-scene.is-preview .slot-group {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        transition-delay: 0.18s;
      }

      .hero-scene.is-active .slot-bee,
      .hero-scene.is-preview .slot-bee {
        opacity: 1;
        transform: translate(0, 0);
        filter: blur(0);
        transition-delay: 0.32s;
      }

      .hero-scene.is-leaving .slot-text {
        opacity: 0;
        transform: translateX(var(--text-leave-x));
        filter: blur(6px);
        transition-delay: 0s;
        transition-duration: 0.24s;
      }

      .hero-scene.is-leaving .slot-group {
        opacity: 0;
        transform: translateY(12px) scale(0.988);
        filter: blur(6px);
        transition-delay: 0.06s;
        transition-duration: 0.28s;
      }

      .hero-scene.is-leaving .slot-bee {
        opacity: 0;
        transform: translate(-16px, 10px);
        filter: blur(6px);
        transition-delay: 0s;
        transition-duration: 0.2s;
      }

      .hero-controls {
        position: absolute;
        left: 50%;
        bottom: clamp(18px, 3.5vh, 34px);
        z-index: 12;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        transform: translateX(-50%);
      }

      .hero-dots {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(6px);
      }

      .hero-dots button {
        width: 10px;
        height: 10px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: transform 0.25s ease, background 0.25s ease;
      }

      .hero-dots button.is-active {
        background: rgba(255, 255, 255, 0.95);
        transform: scale(1.18);
      }

      .hero-progress-line {
        width: min(220px, 44vw);
        height: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.24);
        overflow: hidden;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
      }

      .hero-progress-line__fill {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.96);
        transform-origin: left center;
        transform: scaleX(1);
      }

      .hero-progress-line.is-running .hero-progress-line__fill {
        animation: heroCountdown linear forwards;
        animation-duration: var(--auto-delay, 6000ms);
      }

      @keyframes heroCountdown {
        from {
          transform: scaleX(1);
        }

        to {
          transform: scaleX(0);
        }
      }

      /*
       * 第二屏线下活动区只保留静态整图接口。
       * 无真实素材时保持低干扰占位，不额外添加文案或复杂动效。
       */
      .home-event {
        position: relative;
        width: 100%;
        background: var(--brand-yellow);
        margin-top: -1px;
      }

      .home-event__media {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9.4;
        min-height: 520px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.06);
      }

      .home-event__preview,
      .home-event__image {
        position: absolute;
        inset: 0;
      }

      .home-event__preview {
        background:
          radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.16), transparent 22%),
          radial-gradient(circle at 26% 74%, rgba(255, 255, 255, 0.1), transparent 20%),
          linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.14) 45%, rgba(22, 22, 22, 0.08));
        transition: opacity 0.24s ease, visibility 0.24s ease;
      }

      .home-event__preview::before {
        content: "";
        position: absolute;
        inset: 8% 6%;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 28px;
      }

      .home-event__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /*
         * 线下活动整图的裁切焦点默认略偏右：
         * - 右侧人物是这张图最敏感的主体，优先保证脸部不要被常见屏宽切掉。
         * - 这里只做轻微偏移，不破坏整图原本的舞台构图。
         */
        object-position: 68% center;
        opacity: 0;
        transition: opacity 0.24s ease;
      }

      .home-event__media.is-asset-ready .home-event__preview {
        opacity: 0;
        visibility: hidden;
      }

        .home-event__media.is-asset-ready .home-event__image {
          opacity: 1;
        }

      /*
       * 大屏优化：
       * - 4K / 2K 下提高 Hero 舞台宽度与素材占比，避免主视觉漂在画面上半部。
       * - 同时稍微下移组图与蜂蜜人，让视觉重心更接近中线。
       */
      @media (min-width: 1600px) {
        :root {
          --container: min(1320px, calc(100vw - 96px));
        }

        .home-hero__nav {
          top: max(20px, env(safe-area-inset-top, 0px));
        }

        .hero-stage {
          width: min(1760px, calc(100vw - 48px));
          min-height: max(100svh, 900px);
        }

        .scene--cocoa .slot-text {
          top: 14.5%;
          width: clamp(340px, 30%, 560px);
        }

        .scene--cocoa .slot-group {
          top: 22.5%;
          width: clamp(860px, 58%, 1120px);
          max-width: 1120px;
        }

        .scene--fruit .slot-text {
          top: 14.2%;
          width: clamp(320px, 27%, 500px);
        }

        .scene--fruit .slot-group {
          top: 16%;
          right: 0;
          width: clamp(920px, 70%, 1320px);
          max-width: 1320px;
        }

        .scene--fruit .slot-bee {
          left: 7.2%;
          bottom: 5%;
          width: clamp(220px, 16.5%, 320px);
        }

        .hero-controls {
          bottom: 30px;
        }
      }

      /*
       * 超宽屏再做一次收口：
       * - 继续放大舞台，但不把组件无限拉散。
       * - 通过更稳的 width / top 组合压住 4K 下过空的问题。
       */
      @media (min-width: 2200px) {
        :root {
          --container: min(1480px, calc(100vw - 132px));
        }

        .hero-stage {
          width: min(1860px, calc(100vw - 72px));
        }

        .scene--cocoa .slot-group {
          top: 23.5%;
          width: clamp(980px, 57%, 1180px);
        }

        .scene--fruit .slot-group {
          top: 17%;
          width: clamp(1040px, 69%, 1400px);
        }
      }

      /*
       * 普通桌面 / 常见笔记本：
       * - 在 1280 左右开始提前收口，避免等到 1024 才突然跳变。
       * - 这里重点稳定果饮组合图和蜂蜜人，防止平板横屏与小笔记本出现右侧裁切。
       */
      @media (max-width: 1280px) {
        .hero-stage {
          width: min(100%, calc(100vw - 16px));
          min-height: max(100svh, 780px);
        }

        .scene--cocoa .slot-text,
        .scene--fruit .slot-text {
          left: 6.5%;
          top: 11.2%;
          width: clamp(260px, 38%, 420px);
          min-width: 0;
        }

        .scene--cocoa .slot-group {
          right: 1%;
          top: 24%;
          width: 63%;
          max-width: none;
        }

        .scene--fruit .slot-group {
          right: -2%;
          top: 15%;
          width: 74%;
          max-width: none;
        }

        .scene--fruit .slot-bee {
          left: 5.5%;
          bottom: 4%;
          width: clamp(150px, 21%, 220px);
        }
      }

      /*
       * 短屏桌面优化：
       * - 常见 1366x768 / 1536x864 这类屏幕高度更紧张。
       * - 稍微压缩 Hero 的上下空白，避免控件压到下边缘，也避免主体偏上。
       */
      @media (max-height: 860px) and (min-width: 1025px) {
        .hero-stage {
          min-height: max(100svh, 740px);
        }

        .scene--cocoa .slot-text,
        .scene--fruit .slot-text {
          top: 11%;
        }

        .scene--cocoa .slot-group {
          top: 21%;
          width: 52%;
        }

        .scene--fruit .slot-group {
          top: 13.5%;
          width: 68%;
        }

        .scene--fruit .slot-bee {
          bottom: 2%;
          width: clamp(170px, 15%, 240px);
        }

        .hero-controls {
          bottom: 18px;
        }
      }

      @media (max-width: 1024px) {
        .home-hero__nav {
          top: max(12px, env(safe-area-inset-top, 0px));
          width: min(100%, calc(100vw - 24px));
        }

        .hero-nav-wrap {
          --w-label: 112px;
        }

        .hero-stage {
          width: 100%;
          min-height: max(100svh, 860px);
        }

        .scene--cocoa .slot-text,
        .scene--fruit .slot-text {
          left: 6%;
          top: 11.5%;
          width: 42%;
          min-width: 0;
        }

        .scene--cocoa .slot-group {
          right: 0;
          top: 27%;
          width: 68%;
          aspect-ratio: 1 / 1;
        }

        .scene--fruit .slot-group {
          left: auto;
          right: -1%;
          top: 18%;
          width: 76%;
          aspect-ratio: 1.15 / 1;
        }

        .scene--fruit .slot-bee {
          left: 5%;
          bottom: 4%;
          width: 24%;
          min-width: 0;
          max-width: 220px;
        }

        .home-event__media {
          min-height: 420px;
          aspect-ratio: 16 / 10;
        }

        .home-event__image {
          object-position: 70% center;
        }
      }

      /*
       * 平板与窄窗优化：
       * - 进入 820 左右后，Hero 已经更接近平板竖屏 / 大手机横屏逻辑。
       * - 这里开始主动收紧右侧组合图，避免杯子被切边，同时把蜂蜜人重新拉回安全区。
       */
      @media (max-width: 820px) {
        .hero-stage {
          min-height: 0;
          aspect-ratio: 10 / 14.2;
        }

        .scene--cocoa .slot-text,
        .scene--fruit .slot-text {
          left: 7%;
          top: 12%;
          width: 52%;
        }

        .scene--cocoa .slot-group {
          right: -2%;
          top: 31%;
          width: 82%;
          aspect-ratio: 0.96 / 1;
        }

        .scene--fruit .slot-group {
          right: -4%;
          top: 18%;
          width: 88%;
          aspect-ratio: 1.08 / 1;
        }

        .scene--fruit .slot-bee {
          left: 4%;
          bottom: 6%;
          width: 32%;
          max-width: 190px;
        }

        .hero-controls {
          bottom: 18px;
        }

        .home-event__media {
          min-height: 340px;
          aspect-ratio: 4 / 3.6;
        }

        .home-event__image {
          object-position: 72% center;
        }
      }

      @media (max-width: 680px) {
        .home-hero__nav {
          top: max(10px, env(safe-area-inset-top, 0px));
          width: min(100%, calc(100vw - 12px));
        }

        .hero-nav-shell {
          width: 100%;
          padding-bottom: 54px;
        }

        .hero-nav-wrap {
          --w-label: 90px;
          --round: 14px;
          --p-x: 8px;
          --p-y: 7px;
          width: 100%;
        }

        .hero-nav-label {
          padding: 12px 10px;
          font-size: 12px;
        }

        .hero-nav-hover-shadow {
          width: 260px;
          height: 82px;
          bottom: -14px;
        }

        .hero-nav-hover-outline {
          width: 146px;
        }

        .home-hero {
          min-height: auto;
        }

        .hero-stage {
          min-height: 0;
          aspect-ratio: 9 / 14.8;
        }

        .hero-controls {
          bottom: 14px;
          gap: 8px;
        }

        .mock-text {
          padding: 20% 12% 12%;
          gap: 10px;
        }

        .scene--cocoa .slot-text,
        .scene--fruit .slot-text {
          left: 8%;
          top: 12%;
          width: 56%;
          aspect-ratio: 1.55 / 1;
        }

        .scene--cocoa .slot-group {
          right: -4%;
          top: 29%;
          width: 84%;
          aspect-ratio: 1 / 1;
        }

        .scene--fruit .slot-group {
          left: auto;
          right: -6%;
          top: 19%;
          width: 92%;
          aspect-ratio: 1.08 / 1;
        }

        .scene--fruit .slot-bee {
          left: 3%;
          bottom: 6%;
          width: 34%;
          min-width: 0;
        }

        .home-event__media {
          min-height: 300px;
          aspect-ratio: 4 / 3.8;
        }

        .home-event__image {
          object-position: 74% center;
        }
      }

      /*
       * 小屏手机再向右保一点安全边：
       * - 这里不再继续压缩图片比例，只轻微右移裁切中心，
       *   让人物脸部在竖屏和横向缩窗里尽量都能完整保住。
       */
      @media (max-width: 480px) {
        .home-event__image {
          object-position: 76% center;
        }
      }

      /*
       * 小手机补一层单独适配：
       * - 进一步放宽 Hero 底部节奏，避免文字、杯组、蜂蜜人与控件互相顶住。
       * - 同时减小导航单项宽度，兼容 360 / 375 一类设备。
       */
      @media (max-width: 480px) {
        .hero-nav-wrap {
          --w-label: 84px;
        }

        .hero-nav-label {
          font-size: 11.5px;
          letter-spacing: 0.01em;
        }

        .hero-stage {
          aspect-ratio: 9 / 15.35;
        }

        .scene--cocoa .slot-text,
        .scene--fruit .slot-text {
          top: 13.5%;
          width: 58%;
        }

        .scene--cocoa .slot-group {
          right: -7%;
          top: 31%;
          width: 88%;
        }

        .scene--fruit .slot-group {
          right: -9%;
          top: 20%;
          width: 96%;
        }

        .scene--fruit .slot-bee {
          width: 36%;
          bottom: 7%;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .scene-layer,
        .hero-scene,
        .hero-dots button,
        .hero-progress-line__fill,
        .hero-slot__preview,
        .hero-slot__media,
        .home-event__preview,
        .home-event__image {
          transition: none !important;
          animation: none !important;
        }
      }

      .top {
        background: var(--bg-top);
        padding: clamp(44px, 5vw, 72px) 0 0;
      }

      .intro-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
        gap: clamp(28px, 4vw, 56px);
        align-items: start;
      }

      .eyebrow {
        font-size: 14px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--muted);
        margin: 0 0 14px;
      }

      .title {
        margin: 0 0 18px;
        font-weight: 900;
        font-size: clamp(30px, 4vw, 52px);
        line-height: 1.04;
        text-wrap: balance;
      }

      .title strong {
        display: block;
        letter-spacing: 0.02em;
      }

      .lead {
        margin: 0;
        font-size: 15px;
        line-height: 1.95;
        color: #202020;
        max-width: 720px;
      }

      .headline-row {
        display: flex;
        align-items: center;
        gap: clamp(16px, 2vw, 20px);
        margin: clamp(44px, 6vw, 62px) 0 22px;
      }

      .play-icon {
        width: 28px;
        height: 28px;
        position: relative;
        flex: 0 0 auto;
      }

      .play-icon::before {
        content: "";
        position: absolute;
        left: 6px;
        top: 3px;
        border-style: solid;
        border-width: 11px 0 11px 16px;
        border-color: transparent transparent transparent #111;
      }

      .subhead-wrap h2 {
        margin: 0;
        font-size: clamp(24px, 3vw, 36px);
        line-height: 1.16;
        text-wrap: balance;
      }

      .subhead-wrap p {
        margin: 6px 0 0;
        color: var(--muted);
        font-size: clamp(16px, 1.6vw, 18px);
      }

      .thai-ghost {
        margin: 12px 0 0;
        font-size: clamp(28px, 4vw, 52px);
        line-height: 0.98;
        color: rgba(0, 0, 0, 0.08);
        font-weight: 800;
        white-space: nowrap;
      }

      .roles {
        margin-top: clamp(24px, 4vw, 32px);
        display: grid;
        grid-template-columns: 1fr;
        gap: clamp(14px, 2vw, 18px);
        max-width: min(820px, 100%);
      }

      .role-card {
        display: grid;
        grid-template-columns: 108px 1fr;
        gap: 18px;
        align-items: center;
        padding: 12px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.46);
        border: 1px solid rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(6px);
      }

      .avatar-slot {
        aspect-ratio: 1 / 1;
        border-radius: 16px;
        overflow: hidden;
        background: linear-gradient(135deg, #f0ba00, #ffcf3f);
        position: relative;
        box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
      }

      /*
       * 真实人物素材启用后，彻底关闭原有头像占位伪元素与占位底色，
       * 避免旧的标签和图形遮挡真实图片。
       */
      .avatar-slot--photo {
        background: none !important;
      }

      .avatar-slot--photo::before,
      .avatar-slot--photo::after {
        content: none !important;
        display: none !important;
      }

      .avatar-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
        transform: scale(1.03);
      }

      .avatar-slot::before {
        content: attr(data-label);
        position: absolute;
        inset: auto 10px 10px 10px;
        font-size: 12px;
        font-weight: 800;
        color: rgba(17, 17, 17, 0.7);
        text-align: center;
      }

      .avatar-slot::after {
        content: "";
        position: absolute;
        width: 52px;
        height: 52px;
        left: 50%;
        top: 42%;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        background: rgba(17, 17, 17, 0.14);
        box-shadow: 0 62px 0 8px rgba(17, 17, 17, 0.14);
      }

      .role-copy small {
        display: block;
        font-size: 13px;
        font-weight: 800;
        color: #f0b100;
        letter-spacing: 0.02em;
        margin-bottom: 2px;
      }

      .role-copy h3 {
        margin: 0 0 8px;
        font-size: 28px;
      }

      .role-copy p {
        margin: 0;
        font-size: 14px;
        line-height: 1.85;
        color: #252525;
      }

      .coffee-block {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
        gap: clamp(24px, 4vw, 42px);
        align-items: end;
        margin-top: clamp(56px, 7vw, 84px);
        padding-bottom: clamp(64px, 7vw, 84px);
      }

      .coffee-copy h2 {
        margin: 0 0 10px;
        font-size: clamp(28px, 3.5vw, 42px);
        line-height: 1.12;
      }

      .coffee-copy p {
        margin: 0;
        font-size: 18px;
        color: var(--muted);
      }

      .cocoa-slot {
        aspect-ratio: 1 / 1;
        border-radius: 28px;
        overflow: hidden;
        background:
          radial-gradient(circle at 32% 34%, rgba(255, 255, 255, 0.18), transparent 22%),
          radial-gradient(circle at 70% 66%, rgba(255, 255, 255, 0.12), transparent 16%),
          linear-gradient(145deg, #7b4b20, #5d3514 60%, #3d240f);
        position: relative;
        box-shadow: var(--shadow);
      }

      /*
       * 真实可可图启用后，关闭旧的豆荚占位底图与伪元素，
       * 仅保留图片本身和容器交互。
       */
      .cocoa-slot--photo {
        background: none !important;
      }

      .cocoa-slot--photo::before,
      .cocoa-slot--photo::after {
        content: none !important;
        display: none !important;
      }

      .cocoa-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
      }

      .cocoa-slot::before,
      .cocoa-slot::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        background: #4d2c10;
        box-shadow:
          32px 8px 0 #4d2c10,
          64px -10px 0 #4d2c10,
          102px 18px 0 #4d2c10,
          136px 2px 0 #4d2c10,
          18px 58px 0 #4d2c10,
          48px 76px 0 #4d2c10,
          92px 62px 0 #4d2c10,
          140px 72px 0 #4d2c10,
          8px 120px 0 #4d2c10,
          60px 126px 0 #4d2c10,
          108px 126px 0 #4d2c10,
          156px 118px 0 #4d2c10,
          206px 116px 0 #4d2c10;
      }

      .cocoa-slot::before {
        width: 22px;
        height: 16px;
        left: 24px;
        top: 38px;
      }

      .cocoa-slot::after {
        width: 30px;
        height: 20px;
        right: 56px;
        bottom: 60px;
        transform: rotate(-18deg);
        box-shadow:
          -44px -22px 0 #4d2c10,
          -92px -6px 0 #4d2c10,
          -128px -38px 0 #4d2c10,
          -6px -62px 0 #4d2c10,
          -54px -94px 0 #4d2c10,
          -100px -100px 0 #4d2c10,
          -148px -86px 0 #4d2c10,
          -196px -76px 0 #4d2c10;
      }

      .top-slant {
        position: relative;
        height: 96px;
        background: var(--brand-yellow);
        clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 100%);
        /*
         * 让斜切黄块向下轻微重叠，消除不同浏览器在裁切边缘上出现的 1px 白缝。
         * 该重叠量足够小，不会改变原有的斜切造型和黄色节奏。
         */
        margin-bottom: -2px;
      }

      @keyframes floatChaotic {
        0% {
          background-position: 0 0, 20px 30px;
        }

        100% {
          background-position: -250px -400px, 150px -300px;
        }
      }

      .store-zone {
        position: relative;
        overflow: clip;
        background: var(--brand-yellow);
        padding: 26px 0 124px;
        transition: background-color 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      }

      .store-zone::before,
      .store-zone::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      }

      .store-zone::before {
        z-index: 1;
        background:
          radial-gradient(circle at 50% 16%, rgba(255, 223, 109, 0.18), transparent 28%),
          radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.04), transparent 38%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%);
        opacity: 0;
      }

      .store-zone::after {
        z-index: 2;
        background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
        background-size: 38px 38px;
        opacity: 0;
      }

      .store-zone.is-dark::before {
        opacity: 1;
      }

      .store-zone.is-dark::after {
        opacity: 0.06;
      }

      /*
       * 这里不再整体抬升 .store-zone 的 container。
       * 原因：
       * 1. 如果整块 container 在全页暗场之上，会把标题、黄色底和门店区整段一起“逃出”黑场。
       * 2. 当前真正需要压在全页暗场上面的，只有门店 spotlight 链路本身：
       *    标签、真实图片、灯源、体积光、微尘、地面光池、接触阴影和尾部大图。
       * 3. 因此把升层范围收窄到 .store-spotlight-list，保证“只有门店展品和光效亮起”，
       *    而不是整个门店 section 一起变亮。
       */
      .store-zone .container {
        position: relative;
      }

      .store-zone .section-heading {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 26px;
        margin-bottom: 96px;
        position: relative;
        z-index: 12;
        text-align: center;
        transition: color 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      }

      .store-zone .section-heading .line {
        width: 88px;
        height: 2px;
        background: rgba(17, 17, 17, 0.75);
        transition: background 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      }

      .store-zone .section-heading h2 {
        margin: 0;
        font-size: clamp(28px, 3vw, 40px);
        transition: color 0.65s cubic-bezier(0.22, 1, 0.36, 1);
        text-wrap: balance;
      }

      .store-zone.is-dark .section-heading h2 {
        color: rgba(255, 255, 255, 0.96);
      }

      .store-zone.is-dark .section-heading .line {
        background: rgba(255, 255, 255, 0.18);
      }

      .store-spotlight-list {
        position: relative;
        display: grid;
        justify-items: center;
        gap: 176px;
        z-index: 12;
      }

      /*
       * 每一张门店图都必须支持独立尺寸适配。
       * 这里通过 --store-max-width 和 --store-ratio 让 5 张真实图分别保留自己的构图比例，
       * 尾部大图也走同一套 spotlight 语言，而不是继续维持旧尾图容器链路。
       */
      .store-block {
        --store-max-width: 760px;
        --store-ratio: 16 / 9;
        --store-beam-width: 1160px;
        --store-pool-width: 560px;
        --store-shadow-width: 380px;
        --store-object-position: center bottom;
        --tilt-x: 0deg;
        --tilt-y: 0deg;
        --pop-z: 0px;
        --shadow-shift: 0px;
        --beam-shift: 0%;
        --drift-x: 0px;
        --drift-y: 0px;
        position: relative;
        width: 100%;
        display: grid;
        justify-items: center;
        gap: 52px;
        transition:
          opacity 0.45s ease,
          transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
          filter 0.45s ease;
      }

      .store-block--hero-space {
        gap: 60px;
      }

      /*
       * 只允许当前 active 门店拥有完整灯光与揭示效果。
       * 其他门店不出光，只保留退后压暗后的静态轮廓，从而形成明确的“当前展陈焦点”。
       */
      .store-zone.has-active .store-block:not(.is-active) {
        opacity: 0.2;
        transform: translateY(10px) scale(0.985);
        filter: saturate(0.56) brightness(0.58);
      }

      .store-label {
        position: relative;
        z-index: 35;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 18px;
        border-radius: 8px;
        background: rgba(12, 12, 12, 0.94);
        color: #f6c93a;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0.02em;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
        transition:
          transform 0.35s ease,
          box-shadow 0.35s ease,
          background-color 0.35s ease,
          color 0.35s ease;
      }

      .store-block.is-active .store-label {
        transform: translateY(-4px);
        box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
      }

      .store-anchor {
        position: relative;
        width: min(92vw, var(--store-max-width));
        aspect-ratio: var(--store-ratio);
        perspective: 1100px;
        transform-style: preserve-3d;
        isolation: isolate;
      }

      .lamp-source {
        position: absolute;
        top: -126px;
        left: 50%;
        width: 180px;
        height: 180px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: radial-gradient(
          circle,
          rgba(255, 255, 255, 0.9) 0%,
          rgba(255, 255, 255, 0.34) 22%,
          rgba(255, 255, 255, 0.1) 42%,
          transparent 74%
        );
        opacity: 0;
        z-index: 8;
        pointer-events: none;
        filter: blur(10px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .beam-wrapper {
        position: absolute;
        top: -156px;
        left: 50%;
        width: min(var(--store-beam-width), 180vw);
        height: calc(100% + 320px);
        transform: translateX(calc(-50% + var(--beam-shift)));
        opacity: 0;
        z-index: 5;
        pointer-events: none;
        filter: blur(30px);
        mix-blend-mode: screen;
        transition:
          opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
          transform 0.35s ease;
        will-change: transform, opacity;
      }

      .volumetric-beam {
        width: 100%;
        height: 100%;
        clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%);
        background:
          radial-gradient(
            ellipse at 50% 0%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.24) 18%,
            rgba(255, 255, 255, 0.06) 38%,
            rgba(255, 255, 255, 0) 62%
          ),
          linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.12) 18%,
            rgba(255, 255, 255, 0.04) 34%,
            rgba(255, 255, 255, 0) 62%
          ),
          repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08) 0px,
            rgba(255, 255, 255, 0.08) 1.5px,
            rgba(255, 255, 255, 0.02) 4px,
            rgba(255, 255, 255, 0.006) 8px,
            rgba(255, 255, 255, 0) 15px
          );
        transition: clip-path 0.95s cubic-bezier(0.25, 1, 0.2, 1);
        will-change: clip-path;
      }

      .dust-layer {
        position: absolute;
        inset: -130px -90px -18px;
        z-index: 6;
        opacity: 0;
        pointer-events: none;
        background-image:
          radial-gradient(rgba(255, 255, 255, 0.56) 1.5px, transparent 2px),
          radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1.5px);
        background-size: 84px 92px, 42px 56px;
        background-position: 0 0, 20px 30px;
        animation: floatChaotic 15s linear infinite;
        mask-image: radial-gradient(ellipse at 50% 38%, black 0%, transparent 66%);
        -webkit-mask-image: radial-gradient(ellipse at 50% 38%, black 0%, transparent 66%);
        transition: opacity 0.9s ease;
      }

      .floor-light-pool {
        position: absolute;
        bottom: 8%;
        left: 50%;
        width: min(90vw, var(--store-pool-width));
        height: 220px;
        transform: translateX(-50%) rotateX(74deg);
        border-radius: 999px;
        background: radial-gradient(
          circle,
          rgba(255, 255, 255, 0.18) 0%,
          rgba(255, 255, 255, 0.08) 28%,
          rgba(255, 255, 255, 0.02) 46%,
          rgba(255, 255, 255, 0) 72%
        );
        filter: blur(16px);
        opacity: 0;
        pointer-events: none;
        z-index: 2;
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .contact-shadow {
        position: absolute;
        bottom: -28px;
        left: 50%;
        width: min(84vw, var(--store-shadow-width));
        height: 34px;
        transform: translateX(calc(-50% + var(--shadow-shift))) rotateX(80deg) translateZ(-50px);
        border-radius: 999px;
        background: radial-gradient(
          ellipse at center,
          rgba(0, 0, 0, 0.8) 0%,
          rgba(0, 0, 0, 0.34) 40%,
          transparent 72%
        );
        filter: blur(10px);
        opacity: 0.12;
        pointer-events: none;
        z-index: 3;
        transition:
          opacity 0.8s ease,
          transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
          filter 0.55s ease,
          width 0.55s ease;
      }

      .store-visual {
        position: absolute;
        inset: 0;
        z-index: 4;
      }

      .store-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: var(--store-object-position);
        pointer-events: none;
        user-select: none;
        will-change: transform, filter, clip-path;
        transform-origin: center center;
        transition:
          filter 0.8s ease,
          transform 0.8s ease,
          clip-path 1s cubic-bezier(0.25, 1, 0.2, 1);
      }

      .store-image--dark {
        z-index: 4;
        filter: brightness(0.7777) saturate(0.78) contrast(1.04) drop-shadow(0 28px 36px rgba(0, 0, 0, 0.6));
      }

      .store-image--lit {
        z-index: 5;
        filter: brightness(1.0777) saturate(1.04) drop-shadow(0 0 18px rgba(255, 255, 255, 0.24));
        clip-path: polygon(50% -150%, 50% -150%, 50% 150%, 50% 150%);
      }

      .store-copy {
        position: absolute;
        left: 5.5%;
        top: 8%;
        z-index: 9;
        color: #ffffff;
        opacity: 0.76;
        text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
        transform: translate3d(0, 10px, 0);
        transition:
          opacity 0.45s ease,
          transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
      }

      .store-copy p {
        margin: 0;
        font-size: 16px;
        letter-spacing: 0.06em;
      }

      .store-copy h3 {
        margin: 6px 0 0;
        font-size: clamp(34px, 5vw, 64px);
        line-height: 0.95;
      }

      .store-block.is-active .lamp-source,
      .store-block.is-active .beam-wrapper,
      .store-block.is-active .dust-layer,
      .store-block.is-active .floor-light-pool {
        opacity: 1;
      }

      .store-block.is-active .volumetric-beam {
        clip-path: polygon(50% 0%, 50% 0%, 100% 100%, 0% 100%);
      }

      .store-block.is-active .contact-shadow {
        opacity: 0.95;
        width: min(88vw, calc(var(--store-shadow-width) + 80px));
        filter: blur(15px);
        transform: translateX(calc(-50% + var(--shadow-shift))) rotateX(80deg) translateZ(-80px);
      }

      .store-block.is-active .store-image--dark {
        filter: brightness(0.14) saturate(0.54) contrast(1.12) drop-shadow(0 34px 44px rgba(0, 0, 0, 0.94));
        transform:
          translate3d(var(--drift-x), var(--drift-y), 0)
          rotateX(var(--tilt-x))
          rotateY(var(--tilt-y))
          translateZ(var(--pop-z));
      }

      .store-block.is-active .store-image--lit {
        clip-path: polygon(50% -150%, 50% -150%, 150% 150%, -50% 150%);
        transform:
          translate3d(var(--drift-x), calc(var(--drift-y) - 6px), 0)
          rotateX(var(--tilt-x))
          rotateY(var(--tilt-y))
          translateZ(calc(var(--pop-z) + 14px));
      }

      .store-block.is-active .store-copy {
        opacity: 1;
        transform: translate3d(0, 0, 24px);
      }

      @media (max-width: 900px) {
        .store-zone {
          padding-bottom: 112px;
        }

        .store-zone .section-heading {
          margin-bottom: 76px;
        }

        .store-spotlight-list {
          gap: 136px;
        }

        .store-block {
          gap: 42px;
        }

        .store-label {
          min-height: 40px;
          padding: 0 14px;
          font-size: 13px;
        }

        .lamp-source {
          top: -102px;
          width: 156px;
          height: 156px;
        }

        .beam-wrapper {
          top: -124px;
          height: calc(100% + 250px);
        }

        .store-copy p {
          font-size: 14px;
        }

        .store-copy h3 {
          font-size: clamp(28px, 5vw, 48px);
        }
      }

      @media (max-width: 640px) {
        .store-zone {
          padding-bottom: 88px;
        }

        .store-zone .section-heading {
          gap: 14px;
          margin-bottom: 56px;
        }

        .store-zone .section-heading .line {
          width: 46px;
        }

        .store-spotlight-list {
          gap: 104px;
        }

        .store-block {
          gap: 34px;
        }

        .store-label {
          min-height: 36px;
          padding: 0 12px;
          font-size: 12px;
        }

        .lamp-source {
          top: -84px;
          width: 132px;
          height: 132px;
        }

        .beam-wrapper {
          top: -96px;
          width: 184vw;
          height: calc(100% + 204px);
        }

        .dust-layer {
          inset: -108px -56px -12px;
        }

        .floor-light-pool {
          height: 170px;
        }

        .contact-shadow {
          bottom: -22px;
        }

        .store-copy {
          left: 7%;
          top: 8%;
        }

        .store-copy p {
          font-size: 12px;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .store-zone,
        .store-zone::before,
        .store-zone::after,
        .store-zone .section-heading,
        .store-zone .section-heading .line,
        .store-zone .section-heading h2,
        .store-block,
        .store-label,
        .lamp-source,
        .beam-wrapper,
        .volumetric-beam,
        .dust-layer,
        .floor-light-pool,
        .contact-shadow,
        .store-image,
        .store-copy {
          transition: none !important;
          animation: none !important;
        }
      }
      .page {
        position: relative;
        isolation: isolate;
        z-index: 1;
      }

      .page > * {
        position: relative;
      }

      /*
       * 全页暗场与门店区触发的暗场保持同一色相与同一覆盖逻辑：
       * - 由 .page 统一承接全页暗度，避免在门店区边界出现“上下被切开”的断层。
       * - 门店区自身只保留局部 ambience 与 spotlight，不再额外叠一层更黑的底色。
       */
      .page::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 10;
        pointer-events: none;
        opacity: 0;
        background: #160e0a;
        transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      }

      .page.store-spotlight-active::before {
        opacity: 0.82;
      }

      .intro-mask {
        position: fixed;
        inset: 0;
        z-index: 200;
        display: grid;
        place-items: center;
        overflow: hidden;
        background:
          radial-gradient(circle at center, rgba(255, 223, 109, 0.9) 0 12%, rgba(255, 223, 109, 0.18) 13%, transparent 14%),
          linear-gradient(180deg, #f4c600 0%, #e5b200 100%);
        transition: opacity 0.9s ease, visibility 0.9s ease;
      }

      .intro-mask::before,
      .intro-mask::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: min(18vw, 180px);
        aspect-ratio: 1 / 1;
        border-radius: 999px;
        border: 2px solid rgba(255, 255, 255, 0.58);
        transform: translate(-50%, -50%) scale(0.2);
        animation: rippleIntro 1.8s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
      }

      .intro-mask::after {
        animation-delay: 0.16s;
        opacity: 0.6;
      }

      .intro-mask__logo {
        position: relative;
        z-index: 2;
        font-size: clamp(30px, 6vw, 72px);
        font-weight: 900;
        letter-spacing: 0.16em;
        color: #ffffff;
        text-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
        animation: introText 0.8s ease both;
      }

      body.is-loaded .intro-mask {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }

      .float-card {
        animation: idleFloatA 6.6s ease-in-out infinite;
      }

      .roles .role-card:nth-child(2) {
        animation-delay: -1.2s;
      }

      .roles .role-card:nth-child(3) {
        animation-delay: -2.4s;
      }

      .roles .role-card:nth-child(4) {
        animation-delay: -3.6s;
      }

      .float-media {
        animation: idleFloatB 7.4s ease-in-out infinite;
      }

      .role-card,
      .cocoa-slot,
      .avatar-slot {
        transition:
          transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
          box-shadow 0.45s ease,
          background 0.35s ease,
          border-color 0.35s ease;
      }

      .role-card:hover {
        transform: translateY(-10px) scale(1.015);
        box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12);
      }

      .role-card:hover .avatar-slot {
        transform: scale(1.05) rotate(-1.5deg);
      }

      .cocoa-slot:hover {
        transform: translateY(-8px) rotate(-1deg) scale(1.015);
        box-shadow: 0 30px 54px rgba(0, 0, 0, 0.14);
      }

      .cursor {
        display: none;
      }

      .cursor--dot {
        width: 9px;
        height: 9px;
        margin: -4.5px 0 0 -4.5px;
        border-radius: 999px;
        border: 1px solid rgba(17, 17, 17, 0.08);
        background:
          radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0) 76%),
          rgba(255, 255, 255, 0.02);
        box-shadow:
          0 0 0 1px rgba(17, 17, 17, 0.015),
          0 4px 10px rgba(17, 17, 17, 0.04);
      }

      .cursor--ring {
        --lens-focus-x: 34%;
        --lens-focus-y: 34%;
        width: 58px;
        height: 58px;
        margin: -29px 0 0 -29px;
        border-radius: 999px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(17, 17, 17, 0.08);
        background:
          radial-gradient(circle at var(--lens-focus-x) var(--lens-focus-y), rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 28%, rgba(255, 255, 255, 0.03) 48%, rgba(255, 255, 255, 0) 76%),
          radial-gradient(circle at 72% 74%, rgba(255, 213, 94, 0.08) 0%, rgba(255, 213, 94, 0.03) 34%, rgba(255, 213, 94, 0) 74%);
        box-shadow:
          inset 0 0 0 1px rgba(255, 255, 255, 0.12),
          0 16px 28px rgba(17, 17, 17, 0.045);
        backdrop-filter: saturate(1.08) contrast(1.1) brightness(1.08);
        -webkit-backdrop-filter: saturate(1.08) contrast(1.1) brightness(1.08);
        transform-origin: center center;
      }

      .cursor--ring::before {
        content: "";
        position: absolute;
        inset: 12% 14%;
        border-radius: inherit;
        background:
          radial-gradient(circle at calc(var(--lens-focus-x) - 8%) calc(var(--lens-focus-y) - 8%), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 58%);
      opacity: 0.62;
      }

      body.cursor-hover .cursor--ring {
        width: 86px;
        height: 86px;
        margin: -43px 0 0 -43px;
        border-color: rgba(17, 17, 17, 0.12);
        background:
          radial-gradient(circle at var(--lens-focus-x) var(--lens-focus-y), rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.1) 24%, rgba(255, 255, 255, 0.04) 44%, rgba(255, 255, 255, 0) 74%),
          radial-gradient(circle at 72% 74%, rgba(255, 213, 94, 0.12) 0%, rgba(255, 213, 94, 0.04) 34%, rgba(255, 213, 94, 0) 74%);
        box-shadow:
          inset 0 0 0 1px rgba(255, 255, 255, 0.14),
          0 20px 36px rgba(17, 17, 17, 0.05);
        backdrop-filter: saturate(1.1) contrast(1.12) brightness(1.11);
        -webkit-backdrop-filter: saturate(1.1) contrast(1.12) brightness(1.11);
      }

      @media (hover: hover) and (pointer: fine) {
        body {
          cursor: none;
        }

        .cursor {
          display: block;
          position: fixed;
          left: 0;
          top: 0;
          z-index: 220;
          pointer-events: none;
          opacity: 0;
          transition: opacity 0.25s ease;
        }

        body.cursor-active .cursor {
          opacity: 1;
        }
      }

      @keyframes rippleIntro {
        0% {
          transform: translate(-50%, -50%) scale(0.18);
          opacity: 0.88;
        }
        72% {
          opacity: 0.36;
        }
        100% {
          transform: translate(-50%, -50%) scale(18);
          opacity: 0;
          border-color: rgba(255, 255, 255, 0);
        }
      }

      @keyframes introText {
        0% {
          opacity: 0;
          transform: translateY(18px) scale(0.96);
        }
        100% {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      @keyframes idleFloatA {
        0%,
        100% {
          transform: translateY(0px);
        }
        50% {
          transform: translateY(-8px);
        }
      }

      @keyframes idleFloatB {
        0%,
        100% {
          transform: translateY(0px) rotate(0deg);
        }
        50% {
          transform: translateY(-10px) rotate(-0.8deg);
        }
      }

      .reveal {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
        transition: opacity 0.78s ease, transform 0.78s ease;
        will-change: opacity, transform;
        backface-visibility: hidden;
      }

      .reveal.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }

      /*
       * 下方内容区的平板过渡层：
       * - 在 1100 左右就提前把双列压回单列，避免 iPad 竖屏和窄窗时文字、图片互相挤压。
       * - 同时允许泰文字幽灵标题换行，减少标题与图片、角色卡之间的碰撞。
       */
      @media (max-width: 1100px) {
        .intro-grid,
        .coffee-block {
          grid-template-columns: 1fr;
        }

        .headline-row {
          align-items: flex-start;
        }

        .thai-ghost {
          max-width: 14ch;
          white-space: normal;
          text-wrap: balance;
        }
      }

      @media (max-width: 900px) {
        .headline-row {
          margin-bottom: 18px;
        }

        .coffee-block {
          gap: 24px;
        }

        .subhead-wrap h2 {
          max-width: 14ch;
        }

        .lead {
          max-width: none;
        }

        .role-copy h3 {
          font-size: 24px;
        }
      }

      @media (max-width: 640px) {
        :root {
          --container: min(100vw - 28px, 100%);
        }

        .top {
          padding-top: 32px;
        }

        .headline-row {
          margin-top: 40px;
          gap: 14px;
          flex-direction: column;
        }

        .roles {
          gap: 14px;
        }

        .role-card {
          grid-template-columns: 84px 1fr;
          gap: 14px;
          padding: 10px;
          border-radius: 16px;
        }

        .role-copy h3 {
          font-size: 21px;
        }

        .role-copy p,
        .lead {
          font-size: 13px;
        }

        .subhead-wrap p {
          font-size: 15px;
        }

        .thai-ghost {
          font-size: clamp(22px, 8vw, 34px);
          max-width: 12ch;
        }

        .cocoa-slot {
          border-radius: 18px;
        }

        .section-heading {
          gap: 14px;
          margin-bottom: 36px;
        }

        .section-heading .line {
          width: 46px;
        }
      }

      /*
       * 触屏 / 粗指针设备：
       * - 关闭只在鼠标下才成立的 hover 幻觉，改为 tap / active / focus-visible 反馈。
       * - 门店改为点击/视区激活；导航保留选中态，但不再显示跟手阴影与 outline。
       */
      @media (hover: none), (pointer: coarse) {
        .hero-nav-hover-shadow,
        .hero-nav-hover-outline,
        .hero-nav-slidebar {
          display: none;
        }

        .hero-nav-label:hover,
        .hero-nav-label:focus-visible,
        .role-card:hover,
        .role-card:hover .avatar-slot,
        .cocoa-slot:hover {
          transform: none;
          box-shadow: none;
        }

        .hero-nav-label,
        .hero-dots button,
        .store-label,
        .store-anchor,
        .store-block {
          touch-action: manipulation;
        }

        .hero-dots {
          gap: 12px;
          padding: 9px 12px;
        }

        .hero-dots button {
          width: 12px;
          height: 12px;
        }

        .hero-nav-label:active,
        .hero-nav-label:focus-visible {
          color: #40281e;
        }

        .role-card:active {
          transform: translateY(-4px) scale(1.01);
          box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
        }

        .cocoa-slot:active {
          transform: translateY(-4px) scale(1.01);
          box-shadow: 0 24px 42px rgba(0, 0, 0, 0.12);
        }
      }

