
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    background-color: #F4F1EC;
    color: #1C1B19;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: #9C7B54;
    color: #fff;
}


.wrap {
    width: 1200px;
    max-width: 90vw;
    margin: 0 auto;
}


.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(244, 241, 236, 0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #DDD7CE;
}

.nav-inner {
    width: 1200px;
    max-width: 92vw;
    margin: 0 auto;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-en {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 4px;
}

.brand-cn {
    font-size: 18px;
    letter-spacing: 3px;
    color: #333;
    margin-top: 8px;
}

.nav-links {
    display: flex;
    gap: 46px;
}

.nav-links a {
    position: relative;
    font-size: 20px;
    color: #4A4640;
    padding: 6px 15px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #9C7B54;
    transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #9C7B54;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


main {
    padding-top: 78px;
}

/* ---------- 个人信息 ---------- */
.hero {
    padding: 96px 0 108px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 84px;
    align-items: center;
}

.hero-visual {
    position: relative;
}


.hero-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.02) contrast(1.01);
}


.hero-visual::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 480px;
    border: 1.5px solid #9C7B54;
}

.hero-eyebrow {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #9C7B54;
    margin-bottom: 24px;
}

.hero-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 75px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.02;
}

.hero-name-en {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 28px;
    color: #8A847B;
    letter-spacing: 2px;
    margin-top: 10px;
}

.hero-meta {
    margin-top: 42px;
    border-top: 1px solid #C8A97E;
}

.meta-row {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid #C8A97E;
}

.meta-label {
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
}

.meta-value {
    font-size: 19px;
    color: #4A4640;
    line-height: 1.75;
}

.meta-contact-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 32px;
}

.meta-contact-inline .contact-item + .contact-item {
    position: relative;
    padding-left: 32px;
}

.meta-contact-inline .contact-item + .contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #C8A97E;
}

.contact-item-label {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9C7B54;
    margin-right: 10px;
}

.meta-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-link:hover {
    color: #9C7B54;
}


.section {
    padding: 86px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 54px;
}

.section-index {
    font-family: 'Playfair Display', serif;
    font-size: 62px;
    font-weight: 800;
    color: #9C7B54;
    letter-spacing: 3px;
    line-height: 1;
    margin-top: 0;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.section-title-en {
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
    padding-bottom: 8px;
}

/* ============================================================
   联系方式
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #FFFFFF;
    border: 1px solid #DDD7CE;
    border-radius: 16px;
    padding: 36px 40px;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
                box-shadow 0.45s ease,
                border-color 0.45s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(28, 27, 25, 0.09);
    border-color: #C8A97E;
}

.contact-icon {
    flex-shrink: 0;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(156, 123, 84, 0.22);
    border-radius: 50%;
    overflow: hidden;
    transition: background 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
                border-color 0.45s ease,
                transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.contact-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    opacity: 0.8;
    transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.contact-card:hover .contact-icon {
    background: #9C7B54;
    border-color: #9C7B54;
    transform: scale(1.06);
}


.contact-card:hover .contact-icon img {
    opacity: 1;
    transform: scale(1.08);
    filter: brightness(0) invert(1);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 20px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 7px;
}

.contact-value {
    font-size: 18px;
    font-weight: 500;
    color: #1C1B19;
}


/* ============================================================
   自我评价 · 自我陈述 + 设计工具
   ============================================================ */

.about-quote {
    max-width: 900px;
    margin: 0 auto 56px;
    text-align: center;
}

.quote-mark {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    line-height: 0.5;
    color: #9C7B54;
    opacity: 0.35;
    margin-bottom: 30px;
}

.about-quote p {
    font-family: 'Noto Serif SC', serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #1C1B19;
}


.about-body {
    max-width: 860px;
    margin: 0 auto 62px;
}

.about-body p {
    font-size: 18px;
    line-height: 2.15;
    color: #4A4640;
    text-indent: 2em;
    margin-bottom: 14px;
}

.about-body p:last-child {
    margin-bottom: 0;
}


.about-skills {
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid #C8A97E;
}

.skill-row {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px solid #C8A97E;
}

.skill-label {
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
}

.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tool-tag {
    font-size: 17px;
    color: #4A4640;
    background: transparent;
    border: 1px solid #C8A97E;
    border-radius: 999px;
    padding: 9px 20px;
    transition: background 0.4s ease, color 0.4s ease,
                border-color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tool-tag:hover {
    background: #9C7B54;
    border-color: #9C7B54;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* ============================================================
   专业技能 · 进度条
   ============================================================ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
}

.skill-group-title {
    font-size: 20px;
    letter-spacing: 3px;
    color: #333;
    padding-bottom: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #C8A97E;
}

.skill-item {
    margin-bottom: 26px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 11px;
}

.skill-name {
    font-size: 18px;
    color: #4A4640;
}

.skill-level {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 600;
    color: #9C7B54;
}

.skill-bar {
    height: 6px;
    background: #E4DED4;
    border-radius: 999px;
    overflow: hidden;
}

.skill-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #9C7B54, #C8A97E);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in .skill-bar span {
    transform: scaleX(1);
}

.reveal.in .skill-item:nth-child(2) .skill-bar span { transition-delay: 0.09s; }
.reveal.in .skill-item:nth-child(3) .skill-bar span { transition-delay: 0.18s; }
.reveal.in .skill-item:nth-child(4) .skill-bar span { transition-delay: 0.27s; }
.reveal.in .skill-item:nth-child(5) .skill-bar span { transition-delay: 0.36s; }
.reveal.in .skill-item:nth-child(6) .skill-bar span { transition-delay: 0.45s; }
.reveal.in .skill-item:nth-child(7) .skill-bar span { transition-delay: 0.54s; }

/* ============================================================
   获奖证书 · 3D 翻转卡片
   ============================================================ */
.honors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.honor-card {
    height: 430px;
    perspective: 1600px;
    cursor: pointer;
}

.honor-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.honor-card.is-flipped .honor-inner {
    transform: rotateY(180deg);
}

.honor-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


.honor-front {
    background: #FFFFFF;
    border: 1px solid #DDD7CE;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 54px 48px;
}

.honor-front::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid #DDD7CE;
    pointer-events: none;
}

.honor-medal {
    font-size: 1.7rem;
    color: #9C7B54;
    margin-bottom: 24px;
}

.honor-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.85;
    letter-spacing: 0.02em;
    color: #1C1B19;
}

.honor-hint {
    margin-top: 28px;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8A847B;
}


.honor-back {
    transform: rotateY(180deg);
    background: #2A2723;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honor-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.honor-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 24px;
}



/* ============================================================
   页脚
   ============================================================ */
footer {
    margin-top: 40px;
    border-top: 1px solid #C8A97E;
    padding: 46px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    color: #333;
    letter-spacing: 3px;
}

.footer-inner a {
    color: #9C7B54;
    transition: opacity 0.3s ease;
}

.footer-inner a:hover {
    opacity: 0.7;
}

/* ============================================================
   作品页 / 生活页 
   ============================================================ */
.page-head {
    padding: 84px 0 48px;
}

.page-head .hero-eyebrow {
    margin-bottom: 20px;
}

.page-head .section-title {
    font-size: 3.2rem;
}

.page-head .page-desc {
    margin-top: 22px;
    max-width: 640px;
    font-size: 1rem;
    color: #8A847B;
    line-height: 1.9;
}


.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.filter-btn {
    border: 1px solid #DDD7CE;
    background: transparent;
    color: #4A4640;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 9px 22px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #C8A97E;
    color: #9C7B54;
}

.filter-btn.active {
    background: #9C7B54;
    border-color: #9C7B54;
    color: #fff;
}


.masonry {
    columns: 3;
    column-gap: 24px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #e9e5df;
    box-shadow: 0 2px 10px rgba(28, 27, 25, 0.05);
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.masonry-item:hover img {
    transform: scale(1.045);
}

.masonry-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 42px 20px 18px;
    background: linear-gradient(to top, rgba(20, 18, 16, 0.72), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.masonry-item:hover .masonry-caption {
    opacity: 1;
    transform: translateY(0);
}

.masonry-caption .cap-cat {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #C8A97E;
    margin-bottom: 6px;
}

.masonry-caption .cap-title {
    font-size: 0.98rem;
    letter-spacing: 0.03em;
}


.masonry-item.is-hidden {
    display: none;
}


.polaroid-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 54px 34px;
    padding: 20px 10px 30px;
}

.polaroid {
    margin: 0;
    perspective: 1400px;
    box-shadow: 0 10px 26px rgba(28, 27, 25, 0.10);
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
                box-shadow 0.5s ease;
    cursor: pointer;
}

.polaroid-inner {
    position: relative;
    background: #FFFFFF;
    padding: 14px 14px 0;
    border: 1px solid #E4DED4;
    border-radius: 4px;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.35, 0.1, 0.25, 1);
}

.polaroid.flipped .polaroid-inner {
    transform: rotateY(180deg);
}

.polaroid-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.polaroid-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    text-align: center;
    background: #FBF7EF;
}

.polaroid-back .back-title {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    letter-spacing: 3px;
    color: #A89E8E;
}

.polaroid-back .back-desc {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    line-height: 2;
    color: #4A463F;
}

.polaroid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 2px;
    background: #E9E5DF;
}

.polaroid figcaption {
    padding: 17px 4px 19px;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: #6B665E;
}


.polaroid-cell:nth-child(4n+1) .polaroid { transform: rotate(-1.8deg); }
.polaroid-cell:nth-child(4n+2) .polaroid { transform: rotate(1.4deg); }
.polaroid-cell:nth-child(4n+3) .polaroid { transform: rotate(-1deg); }
.polaroid-cell:nth-child(4n+4) .polaroid { transform: rotate(2deg); }

.polaroid:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03);
    box-shadow: 0 26px 50px rgba(28, 27, 25, 0.18);
}


.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: rgba(20, 18, 16, 0.93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.lightbox.open {
    display: flex;
    animation: lbFade 0.3s ease;
}

@keyframes lbFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 42px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}


.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}
