:root { --paper: #f7f5ef; --panel: #ffffff; --ink: #17151c; --muted: #6d6875; --soft: #e9e3d7; --blue: #315efb; --green: #09684f; --orange: #f0a23a; --shadow: 0 24px 80px rgba(49, 47, 58, 0.08); --max: 1120px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } body.modal-open { overflow: hidden; } a { color: inherit; } .hero { position: relative; width: min(var(--max), calc(100% - 56px)); min-height: 88dvh; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr); gap: 72px; align-items: center; } .eyebrow { margin: 0 0 18px; color: var(--green); font: 700 12px/1.2 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; } h1, h2, h3, p { margin-top: 0; } h1 { margin-bottom: 18px; font-family: "Songti SC", "Noto Serif CJK SC", Georgia, serif; font-size: clamp(64px, 10vw, 132px); line-height: 0.86; letter-spacing: 0; } .headline { margin-bottom: 14px; color: var(--blue); font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.2; } .summary { max-width: 690px; color: var(--muted); font-size: 18px; line-height: 1.85; } .fixture-notice { max-width: 760px; margin: 14px 0 0; padding-left: 12px; border-left: 3px solid var(--red); color: var(--text); font-size: 14px; font-weight: 650; } .fixture-notice:empty { display: none; } .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; } .button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid rgba(23, 21, 28, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.76); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(49, 47, 58, 0.07); } .button.primary { border-color: var(--blue); background: var(--blue); color: white; } .button:hover, .button:focus-visible { transform: translateY(-1px); border-color: var(--blue); } .hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .metric-card { min-height: 116px; padding: 22px; border: 1px solid rgba(23, 21, 28, 0.06); border-radius: 8px; background: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow); animation: metricFloat 900ms ease both; } .metric-card strong { display: block; margin-bottom: 12px; color: var(--blue); font: 800 28px/1 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } .metric-card span { color: var(--muted); font-size: 13px; line-height: 1.45; } .timeline-section, .skills-section, .honors-section, .contact-section { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 86px 0; } .section-heading { text-align: center; margin-bottom: 38px; } h2 { margin-bottom: 12px; font-family: "Songti SC", "Noto Serif CJK SC", Georgia, serif; font-size: clamp(38px, 6vw, 68px); letter-spacing: 0; } .section-heading p { margin: 0 auto; max-width: 640px; color: var(--muted); line-height: 1.75; } .filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 54px; } .filters button { min-height: 38px; padding: 0 15px; border: 1px solid rgba(23, 21, 28, 0.08); border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: var(--muted); cursor: pointer; font-weight: 700; } .filters button.active { border-color: var(--blue); background: var(--blue); color: white; } .timeline { position: relative; } .timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--soft), var(--soft), transparent); } .timeline-card { position: relative; display: grid; grid-template-columns: minmax(170px, 0.75fr) 34px minmax(0, 1.35fr); align-items: start; gap: 22px; margin-bottom: 56px; opacity: 0; transform: translateY(22px); transition: opacity 520ms ease, transform 520ms ease; } .timeline-card[data-detail-id] { cursor: pointer; } .timeline-card.is-visible { opacity: 1; transform: translateY(0); } .timeline-card[hidden] { display: none; } .timeline-date { text-align: right; padding-top: 20px; } .timeline-date time { display: block; margin-bottom: 10px; color: var(--ink); font: 700 16px/1.3 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } .timeline-date span { color: var(--muted); font-size: 13px; font-weight: 700; } .timeline-dot { position: relative; z-index: 1; width: 13px; height: 13px; margin: 25px auto 0; border: 4px solid var(--paper); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px rgba(49, 94, 251, 0.25); } .timeline-content { padding: 26px; border: 1px solid rgba(23, 21, 28, 0.06); border-radius: 8px; background: rgba(255, 255, 255, 0.82); box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease; } .timeline-card:hover .timeline-content, .timeline-card:focus-visible .timeline-content { transform: translateY(-4px); border-color: rgba(49, 94, 251, 0.24); box-shadow: 0 30px 100px rgba(49, 47, 58, 0.13); } .card-kicker { margin-bottom: 10px; color: var(--blue); font-size: 13px; font-weight: 800; } .timeline-content h3 { margin-bottom: 10px; font-size: clamp(23px, 3vw, 34px); line-height: 1.2; letter-spacing: 0; } .organization { margin-bottom: 16px; color: var(--muted); font-weight: 700; } .card-visual { margin: 0 0 18px; overflow: hidden; border: 1px solid rgba(23, 21, 28, 0.06); border-radius: 8px; background: #f8fafc; } .card-visual img { display: block; width: 100%; height: auto; } .description, .timeline-content li { color: var(--muted); line-height: 1.75; } .timeline-content ul { margin: 18px 0 0; padding-left: 21px; } .card-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 20px 0; } .card-stats div { padding: 13px; border-radius: 6px; background: #f6f7ff; } .card-stats strong { display: block; color: var(--blue); font: 800 21px/1 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } .card-stats span { color: var(--muted); font-size: 12px; } .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .tags span { padding: 6px 10px; border-radius: 999px; background: #eef1ff; color: var(--blue); font-size: 12px; font-weight: 700; } .detail-cue { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue); font-size: 13px; font-weight: 800; } .detail-cue::after { content: "→"; transition: transform 220ms ease; } .timeline-card:hover .detail-cue::after { transform: translateX(3px); } .skill-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .skill-column { padding: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.82); box-shadow: var(--shadow); } .skill-column > h3 { margin-bottom: 24px; color: var(--blue); } .skill-block { padding: 18px 0; border-top: 1px solid var(--soft); } .skill-block h3 { margin-bottom: 12px; font-size: 16px; } .skill-block div { display: flex; flex-wrap: wrap; gap: 8px; } .skill-block span { padding: 7px 10px; border-radius: 999px; background: #f2eee6; color: var(--muted); font-size: 13px; font-weight: 700; } .honors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; } .honors li { padding: 18px 20px; border-radius: 8px; background: rgba(255, 255, 255, 0.82); box-shadow: var(--shadow); color: var(--muted); font-weight: 700; } .contact-section { text-align: center; } .contact-section p { max-width: 620px; margin: 0 auto 18px; color: var(--muted); line-height: 1.8; } .contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; } .contact-links a, .contact-links span { color: var(--blue); font-weight: 800; text-decoration: none; } .contact-section .actions { justify-content: center; } footer { display: flex; justify-content: space-between; gap: 24px; width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 30px 0 44px; color: var(--muted); font-size: 12px; } .detail-modal[hidden] { display: none; } .detail-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 28px; } .detail-backdrop { position: absolute; inset: 0; background: rgba(18, 18, 22, 0.34); backdrop-filter: blur(12px); animation: fadeIn 180ms ease both; } .detail-panel { position: relative; width: min(720px, 100%); max-height: min(88vh, 920px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 8px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 40px 140px rgba(23, 21, 28, 0.26); animation: panelIn 240ms ease both; } .detail-header { display: flex; gap: 20px; justify-content: space-between; padding: 28px 30px 22px; border-bottom: 1px solid var(--soft); } .detail-category { margin-bottom: 10px; color: var(--blue); font-size: 13px; font-weight: 900; } .detail-header h2 { margin-bottom: 10px; font-size: clamp(30px, 5vw, 48px); line-height: 1.08; } .detail-meta { margin: 0; color: var(--muted); font-weight: 700; } .detail-close { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(23, 21, 28, 0.08); border-radius: 6px; background: #f8f7f4; color: var(--ink); cursor: pointer; font-size: 26px; line-height: 1; } .detail-body { overflow: auto; padding: 24px 30px 32px; } .detail-visual { margin: 0 0 24px; overflow: hidden; border: 1px solid rgba(23, 21, 28, 0.06); border-radius: 8px; background: #f8fafc; } .detail-visual img { display: block; width: 100%; height: auto; } .detail-visual figcaption { padding: 12px 16px 16px; color: var(--muted); font-size: 13px; } .detail-summary { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.7; } .detail-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--soft); } .detail-section h3 { margin-bottom: 12px; font-size: 18px; } .detail-section p, .detail-section li { color: var(--muted); line-height: 1.75; } .detail-section ul { margin: 0; padding-left: 20px; } .detail-metrics, .star-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; } .detail-metrics div, .star-grid div { padding: 16px; border-radius: 6px; background: #f6f7ff; } .detail-metrics strong, .star-grid strong { display: block; margin-bottom: 8px; color: var(--blue); font: 800 24px/1 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } .star-grid p { margin: 0; color: var(--muted); line-height: 1.6; } .detail-tags, .detail-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .detail-tags span, .detail-links a { padding: 8px 12px; border-radius: 999px; background: #eef1ff; color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; } :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes metricFloat { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 780px) { .hero { width: min(100% - 34px, var(--max)); min-height: auto; padding: 72px 0 96px; grid-template-columns: 1fr; gap: 34px; } .hero-metrics { grid-template-columns: 1fr 1fr; gap: 12px; } .metric-card { min-height: 96px; padding: 17px; } .metric-card strong { font-size: 22px; } .timeline-section, .skills-section, .honors-section, .contact-section, footer { width: min(100% - 34px, var(--max)); } .timeline::before { left: 8px; } .timeline-card { grid-template-columns: 18px 1fr; gap: 12px; } .timeline-date { grid-column: 2; text-align: left; padding-top: 0; } .timeline-dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 8px; } .timeline-content { grid-column: 2; padding: 21px; } .skill-columns { grid-template-columns: 1fr; } .detail-modal { padding: 12px; } .detail-panel { max-height: 92vh; border-radius: 8px; } .detail-header { padding: 22px 20px 18px; } .detail-body { padding: 20px; } footer { flex-direction: column; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .metric-card, .detail-backdrop, .detail-panel { animation: none; } .timeline-card { opacity: 1; transform: none; transition: none; } }