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

:root {
    --bg: #ffffff;
    --fg: #000000;
    --line: #000000;
    --muted: #888888;
    --line-thin: #e0e0e0;
}

html, body {
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--fg);
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand .sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--muted);
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}

.nav-menu a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
    opacity: 1;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1;
}

.lang-btn {
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--muted);
    transition: all 0.2s ease;
    line-height: 1;
    margin: 0;
}

.lang-btn.active {
    background: var(--fg);
    color: var(--bg);
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
}

.nav-toggle span {
    display: block;
    position: absolute;
    left: 4px;
    right: 4px;
    height: 1px;
    background: var(--line);
    transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.hero {
    padding: 90px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title .outline {
    -webkit-text-stroke: 1.5px var(--fg);
    color: transparent;
}

.hero-sub {
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--fg);
    transition: left 0.3s ease;
    z-index: -1;
}

.hero-cta:hover {
    color: var(--bg);
}

.hero-cta:hover::before {
    left: 0;
}

.hero-artwork {
    position: relative;
    aspect-ratio: 1;
    background:
        linear-gradient(var(--line-thin) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, var(--line-thin) 1px, transparent 1px) 0 0 / 40px 40px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.hero-artwork .shape {
    position: absolute;
    border: 1px solid var(--line);
}

.hero-artwork .shape-1 {
    top: 15%;
    left: 15%;
    width: 35%;
    height: 35%;
    background: var(--fg);
    animation: float 8s ease-in-out infinite;
}

.hero-artwork .shape-2 {
    bottom: 15%;
    right: 15%;
    width: 28%;
    height: 28%;
    animation: float 8s ease-in-out infinite 2s;
}

.hero-artwork .shape-3 {
    top: 50%;
    left: 50%;
    width: 20%;
    height: 20%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--line);
    animation: rotate 20s linear infinite;
}

.hero-artwork .line {
    position: absolute;
    background: var(--line);
}

.hero-artwork .line-h {
    height: 1px;
    width: 60%;
    top: 30%;
    left: 20%;
}

.hero-artwork .line-v {
    width: 1px;
    height: 60%;
    top: 20%;
    left: 70%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 64px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.section-num {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--muted);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
    flex: 1;
}

.section-desc {
    font-size: 13px;
    color: var(--muted);
    max-width: 300px;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    padding-bottom: 56px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.timeline-item.in-view {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 8px;
    width: 13px;
    height: 13px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: background 0.3s ease;
}

.timeline-item.in-view::before {
    background: var(--fg);
}

.timeline-year {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.timeline-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    max-width: 720px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.team-card {
    background: var(--bg);
    padding: 32px 28px;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    background: var(--fg);
    color: var(--bg);
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.04);
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.team-card:hover .team-role {
    color: rgba(255, 255, 255, 0.6);
}

.team-bio {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    transition: color 0.3s ease;
}

.team-card:hover .team-bio {
    color: rgba(255, 255, 255, 0.8);
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--line-thin);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--line);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    border: 1px solid var(--line);
    background: var(--bg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-thumb {
    aspect-ratio: 4 / 3;
    background: var(--line-thin);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.04);
}

.project-info {
    padding: 24px;
}

.project-meta {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-summary {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
}

.contact-col {
    padding: 48px;
}

.contact-col + .contact-col {
    border-left: 1px solid var(--line);
}

.contact-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.5;
}

.contact-value a {
    display: inline-block;
    position: relative;
}

.contact-value a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-value a:hover::after {
    transform: scaleX(1);
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: var(--fg);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-width: 2px;
}

.form-textarea {
    resize: none;
    min-height: 100px;
}

.form-btn {
    width: 100%;
    padding: 18px;
    background: var(--fg);
    color: var(--bg);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid var(--line);
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 12px;
}

.form-btn:hover {
    background: var(--bg);
    color: var(--fg);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.detail-hero {
    padding: 120px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: end;
}

.detail-hero-inner {
    padding-bottom: 40px;
}

.detail-back {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fg);
    margin-bottom: 48px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    transition: letter-spacing 0.3s ease;
}
.detail-back:hover { letter-spacing: 5px; }

.detail-index {
    display: flex;
    align-items: baseline;
    gap: 20px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.detail-index > span:first-child {
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
}

.detail-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.detail-lede {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 520px;
}

.detail-hero-placeholder {
    width: 100%;
}

.detail-hero-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line-thin);
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    background: var(--bg);
    overflow: hidden;
}

.placeholder-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.08;
}

.placeholder-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 12px;
    background: var(--fg);
    color: var(--bg);
}

.detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.detail-meta {
    border-left: 1px solid var(--line);
    padding-left: 24px;
    position: sticky;
    top: 110px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.4;
}

.meta-row > span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}

.meta-row > strong {
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

.detail-content {
    min-width: 0;
}

.detail-text {
    font-size: 15px;
    line-height: 2;
    color: #333;
}

.detail-quote {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 32px 0 32px 32px;
    border-left: 3px solid var(--fg);
    margin: 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-thin);
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.detail-list li .num {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--muted);
    padding-top: 3px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.qr-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-item img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.qr-item img:hover {
    transform: translateY(-2px);
    border-color: var(--fg);
}

.qr-caption {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .qr-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--line-thin);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* ===== 分页器 ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    gap: 24px;
}

.page-link {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fg);
    padding: 10px 16px;
    border: 1px solid var(--line);
    background: var(--bg);
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.page-link:hover {
    background: var(--fg);
    color: var(--bg);
}

.page-link.disabled {
    color: var(--muted);
    border-color: var(--line-thin);
    pointer-events: none;
}

.page-numbers {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.page-num {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.page-num:hover {
    color: var(--fg);
    border-color: var(--line-thin);
}

.page-num.active {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--line);
}

.detail-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.detail-nav-link {
    display: block;
    text-decoration: none;
    color: var(--fg);
    padding: 12px 0;
}

.detail-nav-link.disabled {
    opacity: 0.2;
    pointer-events: none;
}

.detail-nav-link .dir {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.detail-nav-link .ptitle {
    font-size: 18px;
    font-weight: 600;
}

.detail-nav-link:hover .ptitle {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.detail-nav-center {
    justify-self: center;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: 14px 28px;
    transition: background 0.3s ease, color 0.3s ease;
}

.detail-nav-center:hover {
    background: var(--fg);
    color: var(--bg);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title { font-size: 48px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-col + .contact-col { border-left: none; border-top: 1px solid var(--line); }
    .section-title { font-size: 32px; }
    .detail-hero { grid-template-columns: 1fr; padding: 120px 24px 40px; gap: 40px; }
    .detail-title { font-size: 40px; }
    .detail-layout { grid-template-columns: 1fr; gap: 48px; }
    .detail-meta { position: static; border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
    .detail-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-inner { padding: 16px 24px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 24px;
        gap: 20px;
    }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 120px 24px 60px; }
    .section { padding: 60px 24px; }
    .hero-title { font-size: 36px; }
    .section-title { font-size: 26px; }
    .section-head { flex-direction: column; gap: 12px; }
    .team-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .footer { flex-direction: column; gap: 12px; text-align: center; }
    .contact-col { padding: 32px 24px; }
    .timeline { padding-left: 24px; }
    .timeline-item::before { left: -22px; }
    .timeline-year { font-size: 28px; }
    .detail-title { font-size: 32px; }
    .detail-quote { font-size: 18px; padding: 24px 0 24px 20px; }
    .detail-gallery { grid-template-columns: 1fr; }
    .detail-nav { grid-template-columns: 1fr; text-align: left; }
    .detail-nav-link { text-align: left !important; }
    .detail-nav-center { justify-self: start; }
    .pagination { flex-direction: column; gap: 16px; }
    .page-numbers { flex-wrap: wrap; }
}