/* #region 页面控制变量 */
/* #region 页面控制变量 */
:root {
    --sidebar-width: clamp(250px, 23vw, 370px);
    --page-padding: clamp(24px, 3vw, 56px);
    --header-height: 64px;
    --accent: #cbb842;
    --background: #080808;
    --text-primary: rgba(255,255,255,.94);
    --text-secondary: rgba(255,255,255,.58);
    --border: rgba(255,255,255,.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text-primary);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
/* #endregion */


/* #region 中英文切换 */
body:not(.en-mode) .lang-en {
    display: none !important;
}

body.en-mode .lang-zh {
    display: none !important;
}
/* #endregion */

button,
a {
    color: inherit;
    font: inherit;
}

button {
    border: 0;
}

img {
    display: block;
    max-width: 100%;
}
/* #endregion */


/* #region背景 */
.project-backdrop {
    position: fixed;

    inset: 0;

    z-index: 0;

    background-image:
    url("https://cdn.liuxinzhu.info/images/Third-Gaze/Third-Gaze29.jpg");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}
/* #endregion */


/* #region 全局导航 */

.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    z-index: 200;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.205) 0%, rgba(0, 0, 0, 0.198) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* 导航栏 LOGO 样式及多语言微调 */
.nav-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}
:lang(zh-CN).nav-logo a {
    letter-spacing: 1px;
}
.en-mode .nav-logo a {
    letter-spacing: 2px;
}

/* 导航栏链接文字及装饰 */
    .nav-links{
    margin-left: auto;
    }
    .nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 30px;
    transition: color 0.3s ease;
}
    .nav-links a:hover, 
    .nav-links a.active {
    color: #ffffff;
}


/* #region 语言切换按钮*/
/* 语言切换按钮核心样式 */ 
.lang-toggle { 
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    /*按钮多圆*/
    border-radius:900px;
    transition: all 0.3s ease;
    margin-left: 15px;
    vertical-align: middle;
    }
    .lang-toggle:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}
/* #endregion */

/* #endregion */



/* #region sidebar */
.project-sidebartext {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: var(--sidebar-width);
    height: 100vh;
    padding: calc(var(--header-height) + 38px) clamp(22px, 2.7vw, 46px) 34px;
    display: flex;
    flex-direction: column;
    background: rgba(6, 6, 6, 0.373);
    border-right: 0px solid rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-heading {
    margin-bottom: clamp(32px, 5vh, 70px);
}

.project-number {
    margin-bottom: 12px;
    color: #cbb842;
    font-size: 10px;
    letter-spacing: .15em;
}

.project-heading h1 {
    color: #fff;
    font-size: clamp(24px, 2.25vw, 37px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.045em;
}

.project-title-zh {
    margin-top: 12px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    letter-spacing: .08em;
}

.project-year {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: .12em;
}
/*章节小导航 */
.project-index {
    display: grid;
    gap: 12px;
    margin-bottom: clamp(32px, 5vh, 64px);
}

.project-index a {
    display: grid;
    grid-template-columns: 34px 1fr;
    color: rgba(255,255,255,.32);
    font-size: 10px;
    letter-spacing: .13em;
    text-decoration: none;
    transition: color .3s ease;
}

.project-index a:hover,
.project-index a.is-active {
    color: #fff;
}


.project-about {
    color: rgba(255,255,255,.68);
    font-size: clamp(10px, .72vw, 12px);
    font-weight: 300;
    line-height: 1.65;
}

.project-about p + p {
    margin-top: 12px;
}

.project-credits {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.credit-label {
    margin-bottom: 61px;
    color: rgb(255, 255, 255);
    font-size: 11px;
    letter-spacing: .18em;
}

.project-credits dl {
    display: grid;
    gap: 13px;
}

.project-credits dl div {
    
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 80px;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgb(255, 255, 255);
    line-height: 1.4;
}

.project-credits dt {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.507);
}
.project-credits dt .lang-zh{
     font-size: 12px;
}


.project-credits dd {
    color: rgba(255,255,255,.72);

    
}

.project-main {
    margin-left: var(--sidebar-width);
}
/* #endregion */



/* #region返回按键 */

.back-button {
    display: inline-block;

    margin-top: 88px;
    align-items: center;
    gap: 8px;
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255,255,255,.75);

    font-size: 10px;
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        color 250ms ease,
        transform 250ms ease;
}

.back-button:hover {
    color: #ffffff;

    
    transform: translateX(-3px);
}

/* #endregion */



/* #region 第一屏背景 */
.project-section {
    position: relative;
    min-height: 100vh;
}

.hero-panel {
    overflow: hidden;
}


/* 第一屏暗角。 它不会影响原图，只是在图片上覆盖一层渐变。*/
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.02) 45%, rgba(0,0,0,.32)),
        linear-gradient(0deg, rgba(0,0,0,.68), transparent 48%);
}

/* 介绍文字整体 */
.intro-panel {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: calc(var(--header-height) + 58px) var(--page-padding) 68px;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 34px);
    align-items: end;
}

.intro-text1 {
    grid-column: 1 / span 5;
}

.intro-text2 {
    grid-column: 7 / span 3;
    align-self: end;
    color: rgba(255,255,255,.78);
    font-size: clamp(12px, .9vw, 15px);
    font-weight: 300;
    line-height: 1.7;
}

.intro-text2 p + p {
    margin-top: 18px;
}

.section-label {
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
}

.intro-text1 h2 {
    max-width: 780px;
    font-size: clamp(42px, 6.7vw, 112px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.065em;
    text-transform: uppercase;
}
/* #endregion */



/*  #region滚动提示 */
.scroll-indicator {
    position: absolute;
    right: var(--page-padding);
    bottom: 34px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255,255,255,.56);
    font-size: 9px;
    letter-spacing: .17em;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-line {
    width: 52px;
    height: 1px;
    overflow: hidden;
    background: rgba(255,255,255,.25);
}

.scroll-line::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% {
        transform: translateX(-100%);
    }

    55%,
    100% {
        transform: translateX(100%);
    }
}
/* #endregion */



/* #region 第二屏视频 */
.film-panel {
    display: flex;
    align-items: center;
    background:rgba(0, 0, 0, 0.692);
}

.section-content {
    width: 100%;
    padding: calc(var(--header-height) + 65px) var(--page-padding) 80px;
}

.section-heading h2,
.gallery-heading h2 {
    font-size: clamp(40px, 6vw, 104px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.06em;
}

.film-status {
    margin-top: 20px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.video-wrapper {
    position: relative;
    width: 100%;
    margin-top: clamp(35px, 6vh, 70px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #030303;
    border: 1px solid rgba(255,255,255,.12);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-wrapper iframe[src=""] {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.private-film {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    width: 100%;
    height: 100%;
    background: #000;
    border: 0;
}

.video-wrapper.is-unlocked .private-film {
    display: block;
}

.video-wrapper.is-unlocked .video-gate {
    display: none;
}

.video-gate {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.035), transparent 42%),
        #030303;
}

.video-gate-inner {
    width: min(100%, 360px);
}

.video-gate-note {
    margin: 0 0 18px;
    color: rgba(255,255,255,.36);
    font-size: 10px;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
}

.film-access {
    display: flex;
    align-items: center;
    width: min(100%, 360px);
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,.24);
    transition: border-color .25s ease;
}

.film-access:focus-within {
    border-color: rgba(255,255,255,.72);
}

.film-password {
    min-width: 0;
    flex: 1;
    padding: 9px 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 11px;
    letter-spacing: .08em;
}

.film-password::placeholder {
    color: rgba(255,255,255,.34);
}

.password-visibility {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.46);
    background: transparent;
    cursor: pointer;
    transition: color .25s ease;
}

.password-visibility:hover,
.password-visibility:focus-visible,
.film-unlock:hover,
.film-unlock:focus-visible {
    color: #fff;
}

.password-visibility svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.password-visibility .eye-slash {
    display: none;
}

.password-visibility.is-visible .eye-slash {
    display: block;
}

.film-unlock {
    padding: 9px 0 9px 18px;
    border: 0;
    color: rgba(255,255,255,.72);
    background: transparent;
    font: inherit;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease;
}

.film-access-message {
    min-height: 1.2em;
    margin: 8px 0 0;
    color: rgba(255,255,255,.45);
    font-size: 9px;
    letter-spacing: .08em;
    text-align: center;
}

.film-access-message.is-error {
    color: rgba(255,185,185,.78);
}

/*影节*/
.festival-link {
    width: max-content;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .3s ease;
}

.festival-link:hover {
    color: #fff;
}
/* #endregion */



/* #region  第三屏画廊 */
.gallery-panel {
    min-height: 100vh;
    padding: calc(var(--header-height) + 65px) var(--page-padding) 100px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.709) 0%, rgba(0, 0, 0, 0.14) 40%, rgba(0, 0, 0, 0.03) 75%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.42) 0%, transparent 80%);
}

/* 网格容器 */
.image-grid {
    display: grid;
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0px, 7vw, 20px) clamp(16px, 2vw, 32px);
}

/* 动效基础类：注意！因为加了 opacity: 0，如果没有 JS 把它变成 .is-visible，静帧图片会看不见 */
.gallery-item {
    min-width: 0;
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.gallery-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 【修复】让 gallery-item 和 gallery-post 的按钮同时变隐形 */
.gallery-item button 
.gallery-post button {
    width: 100%;
    overflow: hidden;
    border: none; /* 确保彻底扒光边框 */
    padding: 0;    /* 确保清空内边距 */
    background: transparent;
    cursor: zoom-in;
}

.gallery-item button {
    width: 100%;
    overflow: hidden;
    background: transparent;
    cursor: zoom-in;
}

/* 图片比例与悬停放大动效 */
.gallery-item img {
    width: 100%;
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
    transition:
        transform 1s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}

.gallery-item button:hover img {
    transform: scale(1.018);
    filter: brightness(.88);
}
/* 画廊普通缩略图的文字样式 */
.gallery-item figcaption {
    margin-top: px;
    color: rgba(255, 255, 255, 0.568);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* 单张大图轮播 */
.gallery-slider {
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
}

.gallery-slider-images {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #080808;
}

.gallery-slider-images > figure {
    display: none;
    width: 100%;
    margin: 0;
}

.gallery-slider-images > figure.is-active {
    display: block;
}

.gallery-slider-images > figure,
.gallery-slider-images > figure.is-visible {
    opacity: 1;
    transform: none;
}

.gallery-slider .gallery-slide {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
}

.gallery-slider .gallery-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 2.15 / 1;
    object-fit: cover;
}

.gallery-slider-images figcaption {
    display: none;
}

.gallery-slider-prev,
.gallery-slider-next {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 48px !important;
    height: 64px;
    padding: 0 !important;
    border: 0;
    background: rgba(0, 0, 0, .26) !important;
    color: #fff;
    font: 300 40px/1 Arial, sans-serif;
    cursor: pointer !important;
    transform: translateY(-50%);
    transition: background-color .25s ease, opacity .25s ease;
}

.gallery-slider-prev {
    left: 0;
}

.gallery-slider-next {
    right: 0;
}

.gallery-slider-prev:hover,
.gallery-slider-next:hover {
    background: rgba(0, 0, 0, .58) !important;
}

.gallery-slider-count {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 34px;
    padding: 5px 8px;
    background: rgba(0, 0, 0, .58);
    color: rgba(255, 255, 255, .9);
    font-size: 10px;
    line-height: 1;
    letter-spacing: .08em;
}

.gallery-slider > p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
/* #endregion */



/* #region 图片灯箱 */
.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    padding: 0;
    overflow: hidden;
    background: rgba(0,0,0,.94);
    border: 0;
    color: #fff;
}

.lightbox::backdrop {
    background: rgba(0,0,0,.92);
}

.lightbox[open] {
    display: grid;
    place-items: center;
}

.lightbox figure {
    width: min(88vw, 1540px);
    height: min(86vh, 900px);
    height: min(86dvh, 900px);
    margin: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    place-items: center;
}

.lightbox figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}

.lightbox figure figcaption {
    margin-top: 15px;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    z-index: 3;
    background: transparent;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    transition: color .25s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
}

.lightbox-close {
    top: 24px;
    right: 30px;
    font-size: 35px;
    font-weight: 200;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 54px;
    font-weight: 200;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: fixed;
    left: 30px;
    bottom: 24px;
    color: rgba(255,255,255,.46);
    font-size: 10px;
    letter-spacing: .14em;
}
/* #endregion */


/* #region 手机端 */
@media screen and (max-width: 900px) {
    :root {
        --header-height: 58px;
    }

    /* #region 手机端导航 */
    .global-nav {
        padding: 10px 10px 10px 6px; 
        flex-wrap: wrap; /* 空间不足时自动换行，防组件溢出屏幕 */
        justify-content: space-between;
        align-items: center; 
    } 

    /* 手机端导航 LOGO 微调 */
        .nav-logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        }   
        :lang(zh-CN) .nav-logo a,
        :lang(en) .nav-logo a { 
        font-size: 8px; 
        letter-spacing: 1px; 
        margin-left: 0px; 
    }
    
    /*导航文字*/
        .nav-links { 
        display: flex !important; /* 强制保持原导航显示状态 */
        flex-wrap: wrap; 
        align-items: center;
        text-align: justify;
        }
        :lang(zh-CN) .nav-links a {
        font-size: 13px; 
        margin-left: 16px;
        }
        :lang(en) .nav-links a {
        font-size: 12px; 
        margin-left: 8px;   
    }
   
      /* 语言按钮优化 */
        :lang(zh-CN) .lang-toggle {
        margin-left: 10px; 
        padding: 3px 10px; 
        font-size: 10px;
        }
        :lang(en) .lang-toggle {
        margin-left: 10px; 
        padding: 3px 8px; 
        font-size: 9px;
    }
    /* #endregion */

   /*  #region  sidebar */
    .project-sidebartext {

        z-index: 10;
        position: relative;
        top: 0px;
        left: auto;
        right: auto;
        bottom: 0px;

        width: calc(100% - 32px);
        max-width: none;
        height: auto;
        min-height: 0;
        max-height: none;

        margin: 90px 16px 0px 16px ;
        padding: 24px 22px;

        overflow: visible;

        background: rgba(6, 6, 6, 0.029);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        /* 边框。*/
        border: 0px solid  rgba(255, 255, 255, 0.11);
        box-shadow: 0 25px 70px  rgba(0, 0, 0, 0);
    }


  .project-heading h1 {
    color: #fff;
    font-size: clamp(24px, 2.25vw, 37px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.045em;
    }

    .project-title-zh {
    margin-top: 12px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    letter-spacing: .08em;
    }

    .project-year {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: .12em;
    }

    /*章节小导航 */
    .project-index {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 30px;
    }

    .project-index a {
        grid-template-columns: 24px 1fr;
        font-size: 9px;
    }

    .project-about {
        max-width: 620px;
        font-size: 12px;
    }

    .project-credits {
        margin-top: 30px;
    }

    .back-button {
        margin-top: 48px;
    }
    /*章节小导航结束 */

    /*第一介绍页 */
    .project-main {
        margin-left: 0;
    }

    .hero-panel {
        min-height: auto;
    }

    .intro-panel {
        min-height: auto;
        padding: 198px 20px 64px;
        grid-template-columns: 1fr;
        align-content: start;
        align-items: start;
    }

    .intro-text1,
    .intro-text2 {
        grid-column: 1;
    }

    .intro-text1 h2 {
        font-size: clamp(45px, 14vw, 82px);
    }

    .intro-text2 {
        max-width: 620px;
        margin-top: 32px;
        font-size: 12px;
    }

    .scroll-indicator {
        display: none;
    }
    
    /*第三页 */
    .section-content,
    .gallery-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gallery-slider .gallery-slide img {
        aspect-ratio: 16 / 9;
    }

    .gallery-slider-prev,
    .gallery-slider-next {
        width: 38px !important;
        height: 54px;
        font-size: 32px;
    }

    .gallery-slider-count {
        right: 8px;
        bottom: 30px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 40px;
    }

    .lightbox-close {
        top: 16px;
        right: 18px;
    }

    .lightbox-counter {
        left: 18px;
        bottom: 18px;
    }

    .lightbox figure {
        width: 94vw;
        height: 86vh;
        height: 86dvh;
        padding: 48px 12px 18px;
    }
}

@media screen and (max-width: 560px) {

 /* #region 手机端导航 */
    .global-nav {
        padding: 10px 10px 10px 6px; 
        flex-wrap: wrap; /* 空间不足时自动换行，防组件溢出屏幕 */
        justify-content: space-between;
        align-items: center; 
    } 

    /* 手机端导航 LOGO 微调 */
        .nav-logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        }   
        :lang(zh-CN) .nav-logo a,
        .en-mode .nav-logo a { 
        font-size: 8px; 
        letter-spacing: 1px; 
        margin-left: 0px; 
    }
    
    /*导航文字*/
        .nav-links { 
        display: flex !important; /* 强制保持原导航显示状态 */
        flex-wrap: wrap; 
        align-items: center;
        text-align: justify;
        }
        :lang(zh-CN) .nav-links a {
        font-size: 13px; 
        margin-left: 16px;
        }
        .en-mode .nav-links a {
        font-size: 12px; 
        margin-left: 8px;   
    }
   
      /* 语言按钮优化 */
        :lang(zh-CN) .lang-toggle {
        margin-left: 10px; 
        padding: 3px 10px; 
        font-size: 10px;
        }
        .en-mode .lang-toggle {
        margin-left: 10px; 
        padding: 3px 8px; 
        font-size: 9px;
    }
    /* #endregion */

    .section-heading h2,
    .gallery-heading h2 {
        font-size: clamp(44px, 16vw, 72px);
    }

    .gallery-item img {
        aspect-ratio: 2.1 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* #endregion */
/* #endregion */
