/* ============================================================
   赵艺博 · 胶片档案 — 2026 视觉系统
   白 / 黑 / 柯达黄 · 编辑式排版 · 电影档案
   ============================================================ */

:root {
    --paper: #FAF9F6;
    --paper-dim: #F1EFE9;
    --ink: #141412;
    --ink-soft: #55534D;
    --kodak: #FFC800;
    --kodak-deep: #EDB400;
    --line: rgba(20, 20, 18, 0.14);
    --line-light: rgba(250, 249, 246, 0.16);
    --serif: 'Fraunces', 'Noto Serif SC', serif;
    --mono: 'IBM Plex Mono', monospace;
    --pad: clamp(20px, 5vw, 72px);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--kodak); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* 全局细颗粒（纸质感光） */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ============ 滚动进度 ============ */
#scrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--kodak);
    z-index: 1500;
}

/* ============ 自定义光标 ============ */
#cursorDot, #cursorRing {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 3000;
    border-radius: 50%;
    mix-blend-mode: difference;
}
#cursorDot { width: 8px; height: 8px; background: #fff; }
#cursorRing {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.85);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out);
}
#cursorRing.hovering { width: 64px; height: 64px; }
@media (hover: none), (pointer: coarse) {
    #cursorDot, #cursorRing { display: none; }
}

/* ============ 导航 ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px var(--pad);
    transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.site-header.scrolled {
    background: rgba(250, 249, 246, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
    padding-top: 12px;
    padding-bottom: 12px;
}
.brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
}
.brand .dot {
    width: 10px; height: 10px;
    background: var(--kodak);
    border-radius: 50%;
    align-self: center;
}
.brand small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ink-soft); }
.main-nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.main-nav a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    position: relative;
    padding: 4px 0;
    color: var(--ink-soft);
    transition: color 0.25s;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--kodak);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-meta { color: var(--ink-soft); }
@media (max-width: 860px) {
    .header-meta { display: none; }
    .main-nav a .en { display: none; }
    .brand small { display: none; }
}

/* ============ 通用布局 ============ */
.section { padding: clamp(80px, 12vw, 160px) var(--pad); position: relative; }
.section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .no { color: var(--ink-soft); }
.section-head .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.section-head .rule { flex: 1; height: 1px; background: var(--line); }
.section-head .tag { color: var(--ink-soft); }
.on-dark .section-head .no, .on-dark .section-head .tag { color: rgba(250,249,246,0.55); }
.on-dark .section-head .rule { background: var(--line-light); }

/* 揭示动效 */
.reveal {
    opacity: 0;
    transform: translateY(46px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-clip {
    -webkit-mask-image: linear-gradient(#000 0 0);
    mask-image: linear-gradient(#000 0 0);
    -webkit-mask-size: 100% 0%;
    mask-size: 100% 0%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: translateY(30px);
    transition: -webkit-mask-size 1s var(--ease-out), mask-size 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.reveal-clip.in {
    -webkit-mask-size: 100% 115%;
    mask-size: 100% 115%;
    transform: translateY(0);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
    will-change: transform;
}
.btn:hover { background: var(--kodak); color: var(--ink); border-color: var(--kodak); box-shadow: 0 10px 30px rgba(255,200,0,0.35); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.btn .arr { transition: transform 0.3s var(--ease-out); }
.btn:hover .arr { transform: translate(3px, -3px); }

/* ============ HERO ============ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(80px + 4vh) 0 0;
    position: relative;
    overflow: hidden;
}
.hero-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 var(--pad);
    color: var(--ink-soft);
    margin-bottom: clamp(24px, 4vh, 56px);
}
.hero-meta span:nth-child(2) { display: none; }
@media (min-width: 700px) { .hero-meta span:nth-child(2) { display: block; } }

.hero-title { padding: 0 var(--pad); position: relative; }
.hero-title .cn {
    font-size: clamp(64px, 14.5vw, 220px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: 0.01em;
    display: block;
}
.hero-title .en {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(40px, 8.6vw, 132px);
    line-height: 1.05;
    display: flex;
    align-items: center;
    gap: 0.18em;
    margin-top: -0.12em;
    padding-left: clamp(0px, 12vw, 220px);
    white-space: nowrap;
}
.hero-title .star {
    color: var(--kodak);
    font-style: normal;
    font-size: 0.9em;
    display: inline-block;
    animation: spin 14s linear infinite;
    text-shadow: 0 0 0 var(--ink);
    -webkit-text-stroke: 1.5px var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-title .reg { font-size: 0.22em; vertical-align: super; font-weight: 400; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: clamp(28px, 4vh, 48px) var(--pad) clamp(36px, 5vh, 64px);
    align-items: end;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); }
}
.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.16em;
}
.hero-roles li { list-style: none; display: flex; align-items: center; gap: 10px; }
.hero-roles li::before { content: ''; width: 7px; height: 7px; background: var(--kodak); }
.hero-desc { color: var(--ink-soft); font-size: 15px; max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* 胶片走马 */
.filmstrip {
    background: var(--ink);
    padding: 22px 0;
    position: relative;
    overflow: hidden;
}
.filmstrip::before, .filmstrip::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 12px;
    background-image: repeating-linear-gradient(to right, var(--paper) 0 10px, transparent 10px 26px);
    opacity: 0.85;
    z-index: 2;
}
.filmstrip::before { top: 6px; }
.filmstrip::after { bottom: 6px; }
.strip-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: strip 36s linear infinite;
    padding: 12px 0;
}
.filmstrip:hover .strip-track { animation-play-state: paused; }
.strip-track figure {
    width: clamp(200px, 24vw, 320px);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}
.strip-track img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform 0.6s var(--ease-out); }
.strip-track figure:hover img { transform: scale(1.06); }
@keyframes strip { to { transform: translateX(-50%); } }

/* 黄色跑马灯 */
.marquee {
    background: var(--kodak);
    color: var(--ink);
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}
.marquee-track {
    display: flex;
    gap: 44px;
    width: max-content;
    padding: 14px 0;
    animation: strip 26s linear infinite;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 44px; }
.marquee-track .m-star { font-size: 16px; }

/* ============ 关于 ============ */
.about-statement {
    font-size: clamp(28px, 4.6vw, 58px);
    font-weight: 600;
    line-height: 1.5;
    max-width: 20em;
    margin-bottom: clamp(48px, 7vw, 96px);
}
.about-statement mark {
    background: linear-gradient(transparent 55%, var(--kodak) 55%, var(--kodak) 95%, transparent 95%);
    color: inherit;
    padding: 0 0.06em;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(280px, 420px) 1fr; } }
.portrait-wrap { position: relative; }
.portrait-wrap::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    background: var(--kodak);
    z-index: 0;
}
.portrait-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.6s;
}
.portrait-wrap:hover img { filter: grayscale(0); }
.portrait-caption {
    position: absolute;
    z-index: 2;
    left: 14px; bottom: 14px;
    background: var(--paper);
    padding: 6px 12px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
}
.about-text p { color: var(--ink-soft); margin-bottom: 1.2em; max-width: 36em; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.skill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.skill-list span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.skill-list span:hover { background: var(--kodak); border-color: var(--kodak); transform: translateY(-3px); }

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    margin-top: clamp(56px, 8vw, 100px);
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 20px 6px 0; border-bottom: 1px solid var(--line); }
.stat b { font-size: clamp(38px, 5vw, 64px); font-weight: 700; line-height: 1.1; display: block; }
.stat b i { font-style: normal; color: var(--kodak-deep); font-size: 0.6em; margin-left: 2px; }
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-soft); }

/* ============ 作品（黑） ============ */
.works { background: var(--ink); color: var(--paper); }
.works .section-head .label { color: var(--paper); }
.work-row {
    display: block;
    position: relative;
    border-top: 1px solid var(--line-light);
    padding: clamp(28px, 4vw, 44px) clamp(8px, 2vw, 28px);
    transition: background 0.35s, color 0.35s;
}
.work-row:last-of-type { border-bottom: 1px solid var(--line-light); }
.work-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(16px, 3vw, 40px);
    align-items: center;
}
.work-no { font-family: var(--mono); font-size: 12px; color: rgba(250,249,246,0.5); transition: color 0.35s; }
.work-title {
    font-size: clamp(30px, 5.4vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 18px;
}
.work-title .en {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.42em;
    opacity: 0.65;
}
.work-desc {
    color: rgba(250,249,246,0.62);
    font-size: 14px;
    line-height: 1.75;
    max-width: 46em;
    margin-top: 10px;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    text-overflow: clip;
    text-wrap: pretty;
    transition: color 0.35s;
}
.work-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.work-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(250,249,246,0.6); transition: color 0.35s; }
.work-year { font-family: var(--mono); font-size: 12px; color: rgba(250,249,246,0.45); transition: color 0.35s; }
.work-arrow {
    font-size: clamp(24px, 3vw, 36px);
    transition: transform 0.35s var(--ease-out);
}
.work-row:hover, .work-row:focus-visible { background: var(--kodak); color: var(--ink); outline: none; }
.work-row:hover .work-no, .work-row:hover .work-desc,
.work-row:hover .work-meta, .work-row:hover .work-year,
.work-row:focus-visible .work-no, .work-row:focus-visible .work-desc,
.work-row:focus-visible .work-meta, .work-row:focus-visible .work-year { color: rgba(20,20,18,0.75); }
.work-row:hover .work-title .en { opacity: 0.8; }
.work-row:hover .work-arrow { transform: translate(6px, -6px); }
.work-thumb { display: none; }

/* 悬浮预览图 */
#workPreview {
    position: fixed;
    z-index: 900;
    width: min(320px, 26vw);
    aspect-ratio: 3 / 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.85) rotate(-4deg);
    transition: opacity 0.3s, transform 0.45s var(--ease-out);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    border: 4px solid var(--paper);
}
#workPreview.on { opacity: 1; transform: scale(1) rotate(-4deg); }
#workPreview img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 联络（柯达黄） ============ */
.contact { background: var(--kodak); color: var(--ink); }
.contact .section-head .rule { background: rgba(20,20,18,0.25); }
.contact .section-head .no, .contact .section-head .tag { color: rgba(20,20,18,0.6); }
.contact-big {
    font-size: clamp(52px, 10vw, 150px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 0.1em;
}
.contact-en {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(24px, 4.4vw, 56px);
    margin-bottom: clamp(32px, 5vw, 56px);
}
.contact-note { max-width: 34em; margin-bottom: 34px; color: rgba(20,20,18,0.75); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.contact-actions .btn:hover { background: var(--paper); border-color: var(--paper); box-shadow: 0 10px 30px rgba(20,20,18,0.15); }
.copy-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.copy-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(20,20,18,0.4);
    border-radius: 999px;
    padding: 10px 20px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    transition: background 0.25s, border-color 0.25s;
}
.copy-chip:hover { background: rgba(20,20,18,0.08); border-color: var(--ink); }
.copy-chip .k { opacity: 0.6; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.copy-chip.copied { background: var(--ink); color: var(--kodak); border-color: var(--ink); }

/* ============ 页脚 ============ */
.site-footer {
    background: var(--ink);
    color: rgba(250,249,246,0.6);
    padding: 26px var(--pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--kodak); }

/* 手机作品行重排：年份并入编号列，职责描述交给正文 */
@media (max-width: 700px) {
    .work-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
    .work-side .work-meta, .work-side .work-year { display: none; }
    .work-no::after {
        content: attr(data-year);
        display: block;
        margin-top: 8px;
        opacity: 0.6;
        font-size: 10px;
    }
    .hero-title .star { -webkit-text-stroke-width: 0.75px; }
}

/* ============ 减少动态偏好 ============ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal, .reveal-clip { opacity: 1; transform: none; clip-path: none; -webkit-mask-image: none; mask-image: none; }
}


/* ============================================================
   2026-11 迭代：3D 互动 · 柯达红 · 技能展开 · 荣誉墙 · 报道卡
   ============================================================ */

:root { --kodak-red: #ED0000; }

/* ---- 首屏收紧 ---- */
.hero { min-height: 0; padding-top: calc(72px + 2vh); }
.hero-meta { margin-bottom: clamp(18px, 3vh, 34px); }
.hero-grid { padding-top: clamp(22px, 3vh, 36px); padding-bottom: clamp(24px, 3vh, 40px); }

/* ---- 互动 3D 放映场景 ---- */
.hero-3d {
    position: absolute;
    top: clamp(58px, 7vh, 96px);
    right: var(--pad);
    width: min(34vw, 420px);
    aspect-ratio: 1;
    z-index: 0;
    cursor: grab;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    isolation: isolate;
}
.hero-3d::before {
    content: '';
    position: absolute;
    inset: 10%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,0,.34), rgba(255,200,0,0) 68%);
    filter: blur(18px);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .6s, transform .8s var(--ease-out);
    pointer-events: none;
}
.hero-3d.projecting::before { opacity: 1; transform: scale(1.15); }
.hero-3d:active { cursor: grabbing; }
.hero-3d:focus-visible { outline: 2px dashed var(--kodak); outline-offset: 5px; }
.hero-3d canvas { position: relative; z-index: 1; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-3d-badge {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: rgba(250,249,246,.82);
    backdrop-filter: blur(8px);
    color: var(--ink-soft);
    font-size: 9px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .4s, background .3s, color .3s;
    pointer-events: none;
}
.hero-3d.ready .hero-3d-badge { opacity: 1; }
.hero-3d-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kodak-red);
    transition: box-shadow .3s;
}
.hero-3d.projecting .hero-3d-badge { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hero-3d.projecting .hero-3d-badge i { box-shadow: 0 0 0 4px rgba(237,0,0,.18); animation: recBlink 1.2s ease-in-out infinite; }
.hero-3d-hint {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
    color: var(--ink-soft);
    background: rgba(250,249,246,.78);
    padding: 4px 8px;
    font-size: 9px;
    pointer-events: none;
}
.hero-title, .hero-grid, .hero-meta { position: relative; z-index: 1; }
.hero-title { pointer-events: none; }
.hero-title .reg, .hero-title .star { pointer-events: auto; }
.hero-title button.star {
    appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    transition: color .25s, filter .25s;
}
.hero-title button.star:hover { color: var(--kodak-red); filter: drop-shadow(0 5px 10px rgba(237,0,0,.2)); }
.hero-title button.star:focus-visible { outline: 2px solid var(--kodak-red); outline-offset: 7px; }

/* ---- Kodak Moment 彩蛋 ---- */
.kodak-moment {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
    background: var(--kodak);
    animation: momentLife 2.25s ease both;
}
.moment-card {
    position: relative;
    z-index: 2;
    min-width: min(76vw, 560px);
    padding: clamp(28px, 5vw, 58px);
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 14px 14px 0 var(--kodak-red);
    text-align: center;
    transform: rotate(-2deg);
    animation: momentPop 2.25s var(--ease-out) both;
}
.moment-star { display: block; color: var(--kodak-red); font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.moment-card b {
    display: block;
    margin: 12px 0 20px;
    font-family: 'Fraunces', serif;
    font-size: clamp(48px, 9vw, 108px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .82;
}
.moment-card small { font-family: var(--mono); font-size: clamp(10px, 1.4vw, 14px); letter-spacing: .14em; }
.moment-confetti {
    position: absolute;
    top: -12vh;
    left: var(--x);
    z-index: 1;
    width: var(--w);
    height: calc(var(--w) * 1.8);
    background: var(--c);
    animation: momentConfetti 1.6s var(--d) cubic-bezier(.2,.65,.35,1) both;
}
@keyframes momentLife { 0% { opacity: 0; } 7%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes momentPop { 0% { transform: rotate(-8deg) scale(.55); } 14%, 80% { transform: rotate(-2deg) scale(1); } 100% { transform: rotate(2deg) scale(1.08); } }
@keyframes momentConfetti {
    0% { opacity: 0; transform: translate3d(0,-10vh,0) rotate(0); }
    10% { opacity: 1; }
    100% { opacity: 1; transform: translate3d(var(--drift),125vh,0) rotate(var(--r)); }
}
@media (max-width: 900px) {
    .hero-3d {
        position: relative;
        top: auto; right: auto;
        width: min(86vw, 360px);
        margin: 4px auto 36px;
    }
    .hero-3d-badge { top: 2%; }
    .hero-3d-hint { bottom: -15px; }
    .moment-card { min-width: 0; width: calc(100vw - 64px); box-shadow: 9px 9px 0 var(--kodak-red); }
}
@media (prefers-reduced-motion: reduce) {
    .kodak-moment, .moment-card { animation: none !important; opacity: 1; }
    .moment-confetti { display: none; }
}

/* ---- 柯达红点缀 ---- */
.rec-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--kodak-red);
    margin-right: 8px;
    animation: recBlink 1.8s ease-in-out infinite;
}
@keyframes recBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.marquee-track span i.m-star:nth-of-type(4n) { color: var(--kodak-red); }
.awards-all-link { text-decoration: underline; text-decoration-color: var(--kodak-red); text-underline-offset: 5px; }
.awards-all-link:hover { color: var(--kodak-red); }

/* ---- 头像保持彩色 ---- */
.portrait-wrap img { filter: none; }
.portrait-wrap:hover img { filter: none; }

/* ---- 技能标签点击展开 ---- */
.skill-list span { cursor: pointer; user-select: none; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out); }
.skill-list span.active {
    background: var(--kodak);
    border-color: var(--kodak);
    transform: scale(1.1);
    font-weight: 500;
}
.skill-detail {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--kodak);
    background: #fff;
    padding: 18px 22px;
    max-width: 34em;
    animation: skillIn 0.35s var(--ease-out);
}
@keyframes skillIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.skill-detail-title { color: var(--kodak-deep); display: block; margin-bottom: 6px; }
.skill-detail p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.skill-hint { margin-top: 12px; color: var(--ink-soft); opacity: 0.7; font-size: 10px; }

/* ---- 学院报道卡 ---- */
.press-card {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: clamp(36px, 5vw, 56px);
    padding: 26px 28px;
    border: 1px solid var(--line);
    background: #fff;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.press-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--kodak-red);
}
.press-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,20,18,0.08); }
.press-badge {
    flex-shrink: 0;
    background: var(--kodak-red);
    color: #fff;
    padding: 8px 14px;
    font-size: 11px;
}
.press-body h3 { font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; margin-bottom: 6px; }
.press-body p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.press-arrow { margin-left: auto; font-size: 30px; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.press-card:hover .press-arrow { transform: translate(4px, -4px); color: var(--kodak-red); }
@media (max-width: 640px) {
    .press-card { flex-wrap: wrap; gap: 14px; padding: 20px; }
    .press-arrow { display: none; }
}

/* ---- 荣誉墙 ---- */
.award-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 28px);
}
@media (max-width: 900px) { .award-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .award-grid { grid-template-columns: 1fr; } }
.award-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px;
    cursor: zoom-in;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.award-card:hover, .award-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(20,20,18,0.12);
    border-color: var(--kodak);
    outline: none;
}
.award-img {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dim);
    overflow: hidden;
}
.award-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s var(--ease-out); }
.award-card:hover .award-img img { transform: scale(1.04); }
.award-card figcaption { padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 8px; }
.award-card figcaption b { font-size: 15px; font-weight: 700; line-height: 1.5; }
.award-level {
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 4px 10px;
}
.award-level.national { background: var(--kodak-red); color: #fff; }
.award-level.provincial { background: var(--kodak); color: var(--ink); }
.award-level.silver { background: var(--ink); color: var(--paper); }

/* ---- 证书放大 Lightbox ---- */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(15, 15, 13, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4vh 4vw;
}
#lightbox.open { display: flex; }
#lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
#lightboxImg {
    max-width: min(1000px, 92vw);
    max-height: 82vh;
    object-fit: contain;
    background: #fff;
    animation: lbIn 0.3s var(--ease-out);
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
#lightboxCaption { color: rgba(250,249,246,0.8); font-size: 12px; }
#lightboxClose {
    position: absolute;
    top: 22px; right: 26px;
    background: var(--kodak);
    border: none;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    padding: 12px 20px;
    border-radius: 999px;
    z-index: 2;
}

/* ---- 联络链接行 ---- */
.link-row { margin-top: 16px; }

/* ---- awards.html 全墙页 ---- */
.awards-page-head { padding: calc(90px + 4vh) var(--pad) 0; }
.awards-page-title { font-size: clamp(44px, 8vw, 110px); font-weight: 900; line-height: 1.15; }
.awards-page-title .en { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; font-size: 0.5em; display: block; }
.back-link { position: fixed; top: 20px; right: var(--pad); z-index: 1001; }

/* ---- 手机端高光荣誉：横向吸附展墙 ---- */
.awards-mobile-hint { display: none; }
@media (max-width: 640px) {
    #awards .award-grid {
        display: flex;
        align-items: center;
        gap: 14px;
        height: 370px;
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x pan-y;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--pad);
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
        margin-inline: calc(-1 * var(--pad));
        padding: 4px var(--pad) 20px;
        scrollbar-width: none;
    }
    #awards .award-grid::-webkit-scrollbar { display: none; }
    #awards .award-card {
        flex: 0 0 min(78vw, 310px);
        scroll-snap-align: center;
    }
    #awards .award-card.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .awards-mobile-hint {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 2px 0 0;
        color: var(--ink-soft);
        font-size: 9px;
        letter-spacing: .06em;
    }
    .awards-mobile-hint::before { content: ''; width: 24px; height: 2px; background: var(--kodak-red); }
}
