/* Combined CSS styles from all files */
.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;

    background-image: radial-gradient(rgb(230, 230, 230) 1px, rgb(247, 247, 247) 0);
    background-size: 6px 6px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.column img {
    width: 100%;
    height: auto;
    display: block;
}
figcaption{
    margin-left: 17%;
    font-family: "Inter", sans-serif;
    font-style: italic;
    font-optical-sizing: auto;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 10px;
    color: rgb(114, 114, 114);
}
figure{
    margin-bottom: 60px;
}
/* About Styles --------------------------------------------------------*/
.container-fluid {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: radial-gradient(rgb(230, 230, 230) 1px, rgb(247, 247, 247) 0);
    background-size: 6px 6px;
}
#about-content-section{
    display: flex;
    flex-wrap: wrap;
}

.about-section {
    width: 50%;
    margin-left: auto; 
    padding-top: 60px;
}
.about-section3 {
    flex: 1;
    padding-top: 60px;
}

.section-content {
    display: block;
    margin: auto;

}

#display1 {
    font-size: 1em;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
    font-family: 'Inter', sans-serif;
}

#display1 a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.9);
}

#display1 a:hover {
    color: #8686c3;
    font-weight: 600;
}

.icons {
    right: 32px;
    position: absolute;
    top: 50%;
    width: 60px;
    transform: translate(0, -50%);
    text-align: center;
}

i {
    padding: 16px;
    margin: auto;
}

/* Homepage Styles --------------------------------------------------------*/
#dotgrid {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
  }
#wrapper {
    height: 100%;
    width: 100%;
    /* overflow-x: hidden; */
}

#canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f9f8f4;
    z-index: 80;
    position: relative;
}

#landingText {
    width: auto;
    height: 100%;
    opacity: 1;
    position: absolute;
    z-index: 4;
    left: 20%;
    top: 50px;
}

#text1 {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-size: 40px;
    font-weight: 800;
    color: black;
    position: relative;
    padding: 0px;
    margin: 0px;
    font-style: normal;
}

#text2 {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-size: 60px;
    font-weight: 800;
    color: black;
    font-style: normal;
    position: relative;
    margin: 0px;
    padding: 0;
    line-height: 1;
}

#text3 {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-size: 60px;
    font-weight: 800;
    color: black;
    font-style: normal;
    position: relative;
    margin: 0px;
    padding: 0;
    line-height: 1;
}

#slogan {
    position: relative;
    height: auto;
    width: auto;
    margin-top: 60px;
}

.text4 {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-size: 30px;
    font-weight: 800;
    color: black;
    font-style: normal;
    position: relative;
    padding: 0;
    margin: 0;
    z-index: 4;
    line-height: 1.1;
}

/* Project Styles --------------------------------------------------------*/
* {
    box-sizing: border-box;
  }
.content-section {
    /* position: relative; */
    padding-top: 48px;
    margin-left: auto;
    width: calc(100% - 90px);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: default;
}

.fa-heart {
    font-size: .7em;
}

.header-title {
    visibility: hidden;
    width: auto;
    transform: rotate(270deg);
    transform-origin: right bottom 0;
    right: 15px;
    top: 10px;
    position: fixed;
    z-index: 1000;
    font-size: 1.1em;
    letter-spacing: 3px;
    font-weight: 600;
    color: #000000;
    font-family: 'Funnel Display', sans-serif;
}

h1 {
    width: 66%;
    margin: 20px auto;
    z-index: 1000;
    margin-bottom: 32px;
    line-height: 80px;
    margin-top: 0px;
    font-size: 3em;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    font-family: 'Funnel Display', sans-serif;
}

h2 {
    width: 66%;
    margin: 20px auto;
    margin-bottom: 16px;
    margin-top: 30px;
    line-height: 1.6;
    font-size: 1.4em;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: rgba(0, 0, 0, .88);
}

h3 {
    width: 66%;
    margin: auto;
    margin-top: 80px;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 1.2em;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: rgba(0, 0, 0, .88);
}

hr {
    border: 0;
    height: 0.5px;
    background-color: #eeeeee;
    margin-top: 60px;
    margin-bottom: 40px;
    width: 100%;
}

p {
    width: 66%;
    color: rgba(0, 0, 0, 1);
    font-size: 1em;
    line-height: 1.4em;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
}

ul li {
    width: 66%;
    margin: auto;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    line-height: 1.6em;
    -webkit-font-smoothing: antialiased;
}

ul li a {
    text-decoration: none;
}
.tagbox{
    width: 66%;
    margin:auto;
}
.tag {
    display: inline-block;
    font-size: .9em;
    font-family: 'Poppins', sans-serif;
    color: rgba(0, 0, 0, 0.68);
    background-color: rgba(0, 0, 0, 0.06);
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
    font-weight: 400;
    padding: .4em 1.8em;
    margin-bottom: 8px;
    margin-right: 4px;
    transform: skewX(-15deg);
}

.tag-text {
    transform: skew(15deg);
}

.img-container {
    text-align: center;
}

.proimg {
    /* position: relative; */
    display: block;
    width: 66%;
    margin-top: 32px;
    margin: auto;
}

.pwc-feature-shot {
    margin: 20px auto;
}

.proimg1 {
    width: 50%;
    /* 将图片宽度设为50% */
    border: 1px solid #ededed;
    /* 添加0.5px浅灰色边框 */
    display: block;
    /* 将图片设为块级元素 */
    margin-left: auto;
    /* 左侧自动边距 */
    margin-right: auto;
    /* 右侧自动边距 */
    margin-top: 60px;
    margin-bottom: 60px;
}

.proimg2 {
    width: 48%;
    /* 将图片宽度设为50% */
    height: 400px;
    border: 1px solid #ededed;
    /* 添加0.5px浅灰色边框 */
    display: inline-block;
    /* 将图片设为块级元素 */
    margin-top: 60px;
    margin-bottom: 60px;
    object-fit: contain;
    /* 保持图片纵横比 */
    object-position: center;
    /* 图片在容器内居中 */
    background-color: #f8f8f8;
}

.proimg3 {
    width: 32%;
    /* 将图片宽度设为50% */
    height: 400px;
    border: 1px solid #ededed;
    /* 添加0.5px浅灰色边框 */
    display: inline-block;
    /* 将图片设为块级元素 */
    margin-top: 60px;
    margin-bottom: 60px;
    object-fit: contain;
    /* 保持图片纵横比 */
    object-position: center;
    /* 图片在容器内居中 */
    background-color: #f8f8f8;
}

.proimg-border {
    /* position: relative; */
    display: block;
    width: 66%;
    margin: 20px auto;
    border: 1px solid rgb(224, 224, 224);
}

iframe {
    width: 100%;
    position: relative;
    height: 500px;
}

.copyr {
    width: auto;
    color: #adadad;
    font-size: .7em;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    bottom: 64px;
    padding: 96px 0px 72px;
}

/* Sidebar Styles --------------------------------------------------------*/
html {
  scrollbar-gutter: stable; /* 预留滚动条空间，避免布局偏移 */
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* 确保 body 撑满视口 */
  }

#wrapper {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

#sidebarWrapper {
    z-index: 1000;
    position: fixed;
    width: 80px;
    left: 250px;
    height: 100%;
    min-height: 500px;
    margin-left: -250px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

#sidebarWrapper.hovered {
    width: 560px;
    background-color: #ffffff;
}


#sidebarWrapper.hovered .labelWork {
    overflow: hidden;
    -webkit-animation: flyout 0.4s;
    -webkit-animation-fill-mode: forwards;
    -webkit-transition: ease;
    transition: ease;
}

@keyframes flyout {
    0% {
        width: 80px;
    }

    1% {
        width: 0;
        font-family: Poppins;
    }

    20% {
        width: 0;
        font-family: Poppins;
        transform: rotate(-90deg);
    }

    30% {
        width: 0;
        font-family: Funnel Display;
        transform: rotate(0deg);
    }

    100% {
        width: 360px;
        font-family: Funnel Display;
        font-size: 100px;
        font-weight: 800;
        text-transform: initial;
        margin-left: 30px;
        top: 8%;
        transform: rotate(0deg);
    }
}

.prooverlay {
    background-image: radial-gradient(rgb(230, 230, 230) 1px, rgb(247, 247, 247) 0);
    background-size: 6px 6px;
    width: 100%;
    height: 100%;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    z-index: 100;
    transition: opacity 0.5s;
}

#sidebarWrapper.hovered~.prooverlay {
    visibility: visible;
    opacity: 1;
}


#sidebarWrapper.hovered~#page-content-wrapper {
    /* transform: translateX(480px); */
    opacity: 0;
}

#sidebarWrapper.hovered #home a {
    visibility: visible;
    opacity: 1;
    transition: all 0.6s ease;
    -webkit-transition: all 0.6s ease;
}

#sidebarWrapper.hovered .protitle,
#sidebarWrapper.hovered .time {
    visibility: visible;
    -webkit-animation: show 0.5s ease-in-out;
}

@-webkit-keyframes show {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.8;
    }
}

#page-content-wrapper {
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#hometext {
    cursor: pointer;
    width: 370px;
    visibility: hidden;
    opacity: 0;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 4px;
    color: #000000;
    z-index: 3000;
}

#home {
    position: absolute;
    left: 33px;
    top: 20px;
}

#arrow {
    cursor: pointer;
    width: 370px;
    /* visibility: hidden; */
    /* opacity: 0; */
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    letter-spacing: 4px;
    color: #000000;
    z-index: 3000;
}

.proline {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
    border-top: 2px solid #1FEAFF;
}

/* Text Styles --------------------------------------------------------*/
.protitle {
    width: auto;
    margin: 0;
    margin-left: 46px;
    display: inline-block;
    color: #0d0d0f;
    font-weight: 700;
    font-size: 2em;
    font-family: 'Inter', sans-serif;
    visibility: hidden;
    position: relative;
    line-height: 48px;
}

.time {
    margin: 0;
    right: 28px;
    display: inline-block;
    color: #6a6a6a;
    font-weight: 700;
    font-size: 2em;
    font-family: 'Funnel Display', sans-serif;
    text-align: right;
    visibility: hidden;
    position: absolute;
    line-height: 48px;
}

.prolist:hover .protitle {
    opacity: 0.8;
}

.protitle::before {
    position: absolute;
    bottom: 10%;
    z-index: -1;
    background: #1FEAFF;
}

.prolist:hover .protitle::before {
    content: '';
    width: 100%;
    height: 30%;
    animation: strike 500ms forwards;
}

@keyframes strike {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }

    50% {
        transform: scaleX(1);
        transform-origin: left;
    }

    60% {
        transform: scaleX(1);
        transform-origin: right;
    }

    100% {
        transform: scaleX(1);
        transform-origin: right;
    }
}

.labelWork {
    position: absolute;
    top: 12%;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 4px;
    text-align: left;
    color: #000000;
    transform: rotate(-90deg);
    display: block;
    width: 80px;
    cursor: default;
    text-transform: uppercase;
}

#about {
    position: absolute;
    bottom: 104px;
    margin-right: 60px;
    transform: rotate(-90deg);
}

#about a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 4px;
    color: #000000;
}

#about a:hover {
    opacity: 0.6;
}

.sidebar-nav {
    position: absolute;
    top: 32%;
    width: 460px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dot {
    height: 8px;
    width: 8px;
    display: inline-block;
    background: #000000;
    vertical-align: text-top;
    -webkit-animation: loadAnimation 0.5s;
}

.prolist:hover .dot {
    transform: scale(1.5);
}

@keyframes loadAnimation {
    0% {
        transform: translateY(15px) scale(0);
        opacity: 0;
    }

    50% {
        transform: translateY(6px) scale(0.2);
    }

    95% {
        transform: translateY(1px) scale(1.5);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.animate .dot {
    animation-name: loadAnimation;
}

.dot2 {
    animation-delay: 0.1s;
}

.dot3 {
    animation-delay: 0.2s;
}

.dot4 {
    animation-delay: 0.3s;
}

.dot5 {
    animation-delay: 0.4s;
}

.dot6 {
    animation-delay: 0.5s;
}

.dot7 {
    animation-delay: 0.6s;
}

.dot8 {
    animation-delay: 0.6s;
}

.dot9 {
    animation-delay: 0.6s;
}

.sidebar-nav li {
    margin-left: 35px;
    height: 48px;
}

#sidebar_logo {
    stroke: #000000;
    stroke-width: 10px;
    position: fixed;
    z-index: 2000;
    top: 68px;
    left: 22px;
    height: 35px;
    width: 35px;
}

#sidebar_logo a:hover {
    opacity: 0.6;
}

/* Loader Styles --------------------------------------------------------*/
#loader {
    width: 28px;
    height: 28px;
    border: 4px solid #000000;
    animation: loader 2s infinite ease;
    position: absolute;
    left: 50%;
    top: 41%;
    z-index: 1;
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #000000;
    animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(180deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        height: 0%;
    }

    25% {
        height: 0%;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0%;
    }
}

/* Media Queries --------------------------------------------------------*/
@media(max-width: 1000px) {
    .about-section {
        width: 600px;
    }

    #title-1,
    #title-2 {
        font-size: 2em;
    }

    .tnframe {
        width: 48%;
        margin: .5%;
    }

    #logo_2 {
        top: 35%;
        left: 32%;
        position: absolute;
        width: 15%;
        z-index: 3;
    }

    #logo_3 {
        top: 25%;
        left: 40%;
        position: absolute;
        width: 30%;
        z-index: 1;
    }

    #dot_group {
        left: 52%;
        top: 20%;
        position: absolute;
        width: 25%;
        z-index: 2;
    }
}

@media(max-width: 600px) {
    #sidebarWrapper {
        width: 0;
    }

    .protitle {
        margin-left: 10%;
    }

    .about-section {
        width: 300px;
    }

    #title-1,
    #title-2 {
        font-size: 1.5em;
    }

    .icons {
        right: auto;
        position: absolute;
        bottom: 40px;
        top: auto;
        width: 100%;
        transform: translate(0, 0);
    }

    .fixheader {
        height: 120px;
        background-color: white;
        padding: 0;
        margin: 0;
        top: 0;
        width: 100%;
        position: fixed;
        z-index: 100;
    }

    .content-section {
        top: 120px;
        position: absolute;
        width: 82%;
        padding: 0;
    }

    .label {
        font-size: .8em;
        font-weight: 400;
        padding: .6em 1.6em;
    }

    .copyr {
        width: auto;
        color: #adadad;
        font-size: .5em;
        font-family: 'Open Sans', sans-serif;
        text-align: center;
        margin: 48px;
    }

    .header-title {
        padding: 50.4px 0;
        font-size: 1.2em;
        margin: auto;
        right: 30px;
        transform: rotate(0deg);
        visibility: visible;
    }

    h1 {
        font-size: 1.6em;
        margin-bottom: 38px;
    }

    h2 {
        font-size: 1em;
        margin-bottom: 24px;
    }

    p {
        font-size: .8em;
        width: 100%;
        margin-bottom: 32px;
    }

    iframe {
        height: 300px;
    }

    .project-grid {
        margin-left: 0px;
    }

    #logo_2 {
        top: 38%;
        left: 16%;
        width: 150px;
    }

    #logo_3 {
        top: 30%;
        left: 28%;
        width: 275px;
    }

    #dot_group {
        top: 13%;
        left: 55%;
        width: 180px;
    }

    .tnframe {
        width: 98%;
        margin: 1%;
    }
}

@media(max-width: 500px) {
    #logo_2 {
        top: 38%;
        left: 12%;
        width: 150px;
    }

    #logo_3 {
        top: 30%;
        left: 15%;
        width: 275px;
    }

    #dot_group {
        top: 13%;
        left: 45%;
        width: 180px;
    }
}

.page-protect-scroll-lock {
    overflow: hidden;
}

.page-protect-locked #page-content-wrapper {
    visibility: hidden;
}

.page-protect-gate {
    position: fixed;
    inset: 0 0 0 80px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
        linear-gradient(135deg, rgba(238, 241, 245, 0.9), rgba(248, 246, 240, 0.96));
    backdrop-filter: blur(18px);
    transition: inset 0.5s ease;
}

.page-protect-card {
    width: min(100%, 440px);
    padding: 40px 32px 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
}

.page-protect-gate.sidebar-hovered {
    inset: 0 0 0 560px;
}

.page-protect-gate.sidebar-hovered .page-protect-card {
    transform: translateX(80px);
}

.page-protect-eyebrow {
    margin: 0 0 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font: 600 12px/1.4 "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.48);
}

.page-protect-title {
    width: 100%;
    margin: 0 0 12px;
    font: 700 36px/1.05 "Funnel Display", sans-serif;
    color: rgba(0, 0, 0, 0.92);
}

.page-protect-copy {
    width: 100%;
    margin: 0 0 28px;
    font: 400 15px/1.7 "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.68);
}

.page-protect-label {
    display: block;
    margin-bottom: 10px;
    font: 600 13px/1.4 "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.72);
}

.page-protect-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: #ffffff;
    font: 500 15px/1.4 "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.88);
}

.page-protect-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.page-protect-error {
    min-height: 22px;
    margin: 12px 0 0;
    font: 500 13px/1.4 "Inter", sans-serif;
    color: #b42318;
}

.page-protect-actions {
    margin-top: 8px;
}

.page-protect-button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font: 600 15px/1 "Inter", sans-serif;
}

.page-protect-button:hover {
    background: #2a2a2a;
}

@media (max-width: 640px) {
    .page-protect-gate {
        inset: 0;
    }

    .page-protect-gate.sidebar-hovered {
        inset: 0;
    }

    .page-protect-gate.sidebar-hovered .page-protect-card {
        transform: none;
    }

    .page-protect-card {
        padding: 32px 22px 24px;
        border-radius: 20px;
    }

    .page-protect-title {
        font-size: 30px;
    }
}
