:root {
    --bg: #050505;
    --panel: #0b0b0b;
    --text: #f6f0e8;
    --muted: rgba(246, 240, 232, 0.62);
    --dim: rgba(246, 240, 232, 0.42);
    --line: rgba(255, 255, 255, 0.13);
    --gold: #d6a15c;
    --gold-light: #f0c98a;
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.58);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: rgba(214, 161, 92, 0.72) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

::selection {
    color: #090909;
    background: var(--gold-light);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #080808;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(240, 201, 138, 0.92), rgba(137, 91, 43, 0.9));
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f3d09a, #b77a39);
}

.noise-layer {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.055;
    background-image: radial-gradient(circle, #fff 0.6px, transparent 0.8px);
    background-size: 4px 4px;
    mix-blend-mode: soft-light;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    pointer-events: none;
    z-index: 89;
    opacity: 0.12;
    background: radial-gradient(circle, rgba(214, 161, 92, 0.28), transparent 66%);
    transform: translate3d(-50%, -50%, 0);
    filter: blur(18px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem clamp(1.3rem, 4vw, 4.5rem);
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
    padding-top: 0.86rem;
    padding-bottom: 0.86rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 5, 0.78);
    backdrop-filter: blur(18px);
}

.brand {
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.42em;
}

.brand span {
    color: var(--gold-light);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.7rem);
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
}

.site-nav a,
.site-footer a {
    position: relative;
}

.site-nav a::after,
.site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.36rem;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 0.72rem 1rem;
    border: 1px solid rgba(214, 161, 92, 0.42);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.18);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    padding: 8rem clamp(1.3rem, 5vw, 5.6rem) 5.4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -5;
    background-image: url("../img/background.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.12) brightness(0.86);
    transform: scale(1.02);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.48) 38%, rgba(0,0,0,0.34) 62%, rgba(0,0,0,0.82) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 42%, rgba(0,0,0,0.9) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: clamp(1.3rem, 5vw, 5.6rem);
    right: clamp(1.3rem, 5vw, 5.6rem);
    bottom: 3.2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(214, 161, 92, 0.8), rgba(255,255,255,0.08), transparent);
}

.hero-orbit {
    display: none;
}

.hero-content {
    width: min(980px, 100%);
    text-align: center;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold-light);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.hero-title {
    display: flex;
    justify-content: center;
    gap: 0.08em;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 13vw, 12.8rem);
    line-height: 0.86;
    letter-spacing: -0.055em;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.72);
}

.hero-title span {
    display: inline-block;
    color: rgba(255, 248, 238, 0.94);
    -webkit-text-stroke: 0;
    background: none;
    letter-spacing: inherit;
}

.hero-title span:first-child,
.hero-title span:nth-child(2) {
    color: var(--gold-light);
}

.hero-lead {
    max-width: 760px;
    margin: 1.6rem auto 0;
    color: rgba(255, 248, 238, 0.76);
    font-size: clamp(1.05rem, 2.1vw, 1.45rem);
    line-height: 1.85;
    text-shadow: 0 10px 28px #000;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0 1.45rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: #111;
    background: linear-gradient(135deg, #f6ddb7, #c98d46);
    box-shadow: 0 16px 38px rgba(0,0,0,0.45);
}

.btn-ghost {
    color: #fff5e9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    width: 1.55rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    transform: translateX(-50%);
}

.scroll-cue span {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 0.26rem;
    height: 0.26rem;
    border-radius: 50%;
    background: var(--gold-light);
    transform: translateX(-50%);
    animation: scrollDot 1.5s ease-in-out infinite;
}

.section {
    width: min(var(--max), calc(100% - 2.5rem));
    margin: 0 auto;
    padding: clamp(4.6rem, 9vw, 8rem) 0;
}

.section-heading {
    max-width: 790px;
    margin-bottom: 2.4rem;
}

.section-heading-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.05rem, 5vw, 4.6rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-note {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.glass-card {
    position: relative;
    min-height: 15.5rem;
    padding: 1.45rem;
    border-right: 1px solid var(--line);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    transition: background 0.3s ease, transform 0.3s ease;
}

.glass-card:last-child {
    border-right: 0;
}

.glass-card:hover {
    background: rgba(214, 161, 92, 0.07);
    transform: translateY(-3px);
}

.card-index {
    color: rgba(214, 161, 92, 0.64);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.glass-card h3 {
    margin: 4.2rem 0 0.8rem;
    font-size: 1.45rem;
}

.glass-card p,
.about-copy p,
.contact p {
    color: var(--muted);
    line-height: 1.85;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-auto-rows: 16rem;
    gap: 1rem;
}

.work-grid-single {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
}

.work-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111;
    box-shadow: var(--shadow);
}

.work-card-large {
    grid-row: span 2;
}

.work-card img {
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.08) brightness(0.74);
    transform: scale(1.02);
    transition: transform 0.75s ease, filter 0.75s ease;
}

.work-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.15) contrast(1.12) brightness(0.9);
}

.work-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1.35rem;
    background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0));
}

.work-overlay span,
.slide-caption span {
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.work-overlay h3,
.slide-caption h3 {
    margin: 0.35rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 500;
}

.work-overlay p {
    max-width: 430px;
    margin: 0.65rem 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.featured {
    width: min(1320px, calc(100% - 2.5rem));
}

.xlraw-swiper {
    height: clamp(24rem, 56vw, 42rem);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    background: #080808;
}

.swiper-slide img {
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.1) brightness(0.76);
    transform: scale(1.02);
}

.slide-caption {
    position: absolute;
    left: clamp(1.3rem, 5vw, 4rem);
    bottom: clamp(1.5rem, 5vw, 4rem);
    max-width: 680px;
    padding: 1rem 1.2rem;
    border-left: 1px solid rgba(214, 161, 92, 0.72);
    background: rgba(0,0,0,0.34);
    backdrop-filter: blur(12px);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold-light);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(0,0,0,0.38);
    backdrop-filter: blur(12px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 900;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.62);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--gold-light);
}

.about {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.about-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-visual img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.1) brightness(0.74);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-top: 2rem;
}

.stats div {
    padding: 1rem;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.025);
}

.stats strong,
.stats span {
    display: block;
}

.stats strong {
    color: var(--gold-light);
    font-size: 1.5rem;
}

.stats span {
    color: var(--muted);
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

.contact {
    width: min(920px, calc(100% - 2.5rem));
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-left: clamp(1.3rem, 5vw, 4rem);
    padding-right: clamp(1.3rem, 5vw, 4rem);
    margin-bottom: 6rem;
    background: radial-gradient(circle at 50% 0%, rgba(214, 161, 92, 0.12), transparent 28rem);
}

.contact p {
    max-width: 620px;
    margin: 1.2rem auto 2rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem clamp(1.2rem, 4vw, 4rem);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 1.2rem); }
}

@media (max-width: 980px) {
    .site-nav,
    .nav-cta {
        display: none;
    }

    .hero {
        align-items: center;
        padding-top: 7rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        justify-content: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .section-heading-row,
    .about {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

    .intro-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .glass-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .glass-card:last-child {
        border-bottom: 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 18rem;
    }

    .work-card-large {
        grid-row: span 1;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 92vh;
    }

    .hero-title {
        letter-spacing: -0.075em;
    }

    .hero-actions,
    .site-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .xlraw-swiper {
        height: 25rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}
