/* ==========================================================================
   Tutor.t 求职主页样式（单次整理版）
   已合并此前多轮覆盖：统一字体阶梯、卡片圆角/内距变量、断点与章节节奏。
   ========================================================================== */

:root {
  --bg: #f4f6f8;
  --surface: #fff;
  --surface-soft: #edf1f3;
  --ink: #172033;
  --muted: #647083;
  --line: #d9e0e7;
  --accent: #0f766e;
  --accent-soft: #dff2ee;
  --header: rgba(244, 246, 248, .84);
  --shadow: 0 24px 80px rgba(26, 39, 54, .09);
  --card-padding: 30px;
  --card-radius: 24px;
  --card-shadow: 0 14px 40px color-mix(in srgb, var(--ink) 5%, transparent);
}

[data-theme="dark"] {
  --bg: #111820;
  --surface: #18232c;
  --surface-soft: #1d2a34;
  --ink: #edf3f4;
  --muted: #9eafb8;
  --line: #32414c;
  --accent: #6bd3be;
  --accent-soft: #1b413e;
  --header: rgba(17, 24, 32, .84);
  --shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

[data-theme="dark"] .case-visual { background: var(--surface-soft); }
[data-theme="dark"] .featured-case .case-visual img { background: var(--surface); }
[data-theme="dark"] .case-index { background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--ink); text-shadow: none; }
[data-theme="dark"] .achievement-list,
[data-theme="dark"] .experience-card,
[data-theme="dark"] .practice-item { background: color-mix(in srgb, var(--surface) 92%, var(--bg)); }
[data-theme="dark"] .case-flow p strong,
[data-theme="dark"] .body-lede,
[data-theme="dark"] .detail-label,
[data-theme="dark"] .case-flow span { color: var(--ink); }

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent-soft) 36%, transparent), transparent 32%), var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: background .3s ease, color .3s ease;
}
body, a, button { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }

.container { width: min(1280px, calc(100% - 48px)); max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

/* ---------- 排版 ---------- */
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-weight: 500; letter-spacing: -.055em; line-height: 1.05; }
h1 em, h2 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(40px, 4.5vw, 58px); }
h3 { margin-bottom: 0; font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.section-intro h2, .education-copy h2, .section-heading h2, .contact-grid h2 { font-size: clamp(42px, 4.3vw, 56px); }
.section-intro .eyebrow, .education-copy .eyebrow, .section-heading .eyebrow, .contact-grid .eyebrow { font-size: 15px; }

.eyebrow {
  display: flex; align-items: center; gap: 11px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; flex: 0 0 auto; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.is-visible .eyebrow::before, .section-heading.is-visible > .eyebrow::before { transform: scaleX(1); }

/* ---------- 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); background: var(--header); backdrop-filter: blur(16px); }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; transition: transform .08s linear; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--ink); border-radius: 10px; font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.brand-dot { color: var(--accent); padding: 0 2px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; margin-right: 34px; font-size: 15px; color: var(--muted); }
.desktop-nav a, .mobile-nav a { transition: color .2s ease; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.icon-button:hover { transform: translateY(-2px); border-color: var(--accent); }
.header-cta { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 650; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--ink); color: var(--bg); }
.mobile-menu-button, .mobile-nav { display: none; }

/* ---------- 章节通用 ---------- */
.section-pad { padding: clamp(82px, 8vw, 106px) 0; }
.section-border { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-muted { background: var(--surface-soft); }
.section-intro, .section-heading { align-self: start; }
.section-heading { max-width: 700px; margin-bottom: 36px; }
.section-heading > p:last-child { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.68; }

.two-col, .education-grid, .achievement-grid, .practice-grid, .skills-grid, .contact-grid { display: grid; grid-template-columns: minmax(250px, .82fr) minmax(0, 1.18fr); gap: clamp(56px, 7vw, 92px); align-items: start; }
.section-body { max-width: 670px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.body-lede { margin-bottom: 22px; color: var(--ink); font-size: clamp(22px, 2vw, 27px); line-height: 1.58; }
.tag-row, .case-tags, .skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row { margin-top: 30px; }
.tag-row span, .case-tags span, .skill-chips span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.tag-row span:hover, .case-tags span:hover, .skill-chips span:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- 按钮 ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 45px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 650; transition: transform .22s, background .22s, border-color .22s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--bg); }
.button-primary:hover { background: var(--accent); }
.button-quiet { border-color: var(--line); color: var(--muted); }
.button-quiet:hover, .button-outline:hover { border-color: var(--accent); color: var(--accent); }
.button-outline { border-color: var(--line); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100svh - 5rem); overflow: hidden; padding: clamp(3.5rem, 6vh, 5rem) 0 clamp(3.75rem, 6vh, 5.25rem); }
.hero::before { content: ""; position: absolute; width: 480px; height: 480px; top: -260px; right: 7%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 9%, transparent); filter: blur(18px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(15rem, .72fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { position: relative; max-width: 42rem; font-size: clamp(3.25rem, 4.8vw, 4.5rem); line-height: 1.08; }
.hero h1::after { content: ""; position: absolute; left: 0; bottom: -.8rem; width: min(190px, 33%); height: 3px; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left; animation: line-grow .9s .45s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero h1 em { background: linear-gradient(105deg, var(--accent) 15%, color-mix(in srgb, var(--accent) 48%, var(--ink)) 48%, var(--accent) 82%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: title-breathe 6s ease-in-out infinite; }
.hero .eyebrow { font-size: 16px; }
.hero-lede { max-width: 38rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.0625rem, 1.2vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 1.75rem; }
.hero-actions .button { min-height: 2.75rem; padding-inline: 1.15rem; font-size: .875rem; }
.hero-proof { display: flex; gap: clamp(1.35rem, 2.2vw, 2.25rem); margin-top: 2.65rem; }
.hero-proof div { position: relative; display: flex; flex-direction: column; gap: 6px; padding-left: 14px; animation: metric-rise .65s both; }
.hero-proof div:nth-child(2) { animation-delay: .1s; }
.hero-proof div:nth-child(3) { animation-delay: .2s; }
.hero-proof div::before { content: ""; position: absolute; inset: 2px auto 1px 0; width: 2px; background: var(--accent); opacity: .62; }
.hero-proof strong { font-size: clamp(1.5rem, 1.8vw, 2rem); line-height: 1; letter-spacing: -.04em; }
.hero-proof span { color: var(--muted); font-size: .875rem; }
.hero-visual { position: relative; width: min(100%, 18rem); max-width: 18rem; justify-self: end; }
.portrait-frame { padding: .6rem; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); transform: rotate(1.75deg); animation: portrait-float 7s ease-in-out infinite; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.portrait-caption { display: flex; justify-content: space-between; padding: .65rem 7px 2px; color: var(--muted); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-note { position: absolute; right: -58px; bottom: 25px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; writing-mode: vertical-rl; }
.note-line { width: 1px; height: 54px; background: var(--accent); }

/* ---------- 教育背景 ---------- */
.education-grid { align-items: start; }
.education-copy .education-meta { display: grid; gap: 16px; margin-top: 30px; }
.education-meta div { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.education-meta span { color: var(--muted); font-size: 14px; }
.education-meta strong { font-size: 17px; }
.campus-image { position: relative; }
.campus-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.image-label { position: absolute; right: 14px; bottom: 12px; color: #fff; font-size: 12px; letter-spacing: .12em; text-shadow: 0 1px 8px #000; text-transform: uppercase; }

/* ---------- 学业成果 ---------- */
#achievements .section-intro { padding-top: .35rem; }
.achievement-list { overflow: hidden; padding: 0 var(--card-padding); border: 1px solid var(--line); border-radius: var(--card-radius); background: color-mix(in srgb, var(--surface) 52%, transparent); box-shadow: var(--card-shadow); }
.achievement-item { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.achievement-item:last-child { border-bottom: 0; }
.achievement-item strong { max-width: 44%; font-size: 21px; letter-spacing: -.03em; }
.achievement-item span { max-width: 52%; color: var(--muted); font-size: 15px; line-height: 1.6; text-align: right; }

/* ---------- 经历 ---------- */
.experience-card { margin-top: 14px; padding: var(--card-padding); border: 1px solid var(--line); border-radius: var(--card-radius); background: color-mix(in srgb, var(--surface) 76%, transparent); box-shadow: var(--card-shadow); }
.experience-topline { display: flex; justify-content: space-between; color: var(--accent); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.experience-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; margin-top: 25px; }
.experience-main h3 { font-size: 24px; margin-bottom: 9px; }
.experience-main h3 span { color: var(--muted); font-size: 15px; font-weight: 400; }
.experience-summary { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.metric-strip { display: flex; flex-shrink: 0; gap: 29px; }
.metric-strip div { display: flex; flex-direction: column; gap: 5px; }
.metric-strip strong { font-size: 28px; letter-spacing: -.04em; }
.metric-strip span { color: var(--muted); font-size: 13px; }
.experience-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 32px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.experience-detail p { margin: 7px 0 0; }
.detail-label { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.text-link { display: inline-flex; gap: 8px; margin-top: 25px; color: var(--accent); font-size: 15px; font-weight: 700; }
.experience-card-secondary .metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: 20px 28px;
  width: min(100%, 430px);
  min-width: 270px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.experience-card-secondary .metric-strip strong { font-size: clamp(28px, 2.4vw, 34px); line-height: 1; }
.experience-card-secondary .metric-strip span { font-size: 12px; }
.creator-copy { min-width: 0; }
.creator-description { margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.platform-line { margin: 26px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.creator-profile-shot { flex: 0 0 168px; width: 168px; padding: 8px 8px 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--card-shadow); transform: rotate(1.2deg); }
.creator-profile-shot img { width: 100%; height: 238px; object-fit: cover; object-position: 50% 30%; border-radius: 14px; }
.creator-profile-shot figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-align: center; }

/* ---------- 产品案例 ---------- */
.case-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); box-shadow: var(--card-shadow); transition: transform .28s ease, box-shadow .28s ease; }
.case-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.featured-case { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); }
.case-visual { position: relative; min-height: 100%; background: #d8e9e6; }
.case-visual img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.featured-case .case-visual { display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--surface-soft); }
.featured-case .case-visual img { min-height: 380px; object-fit: contain; object-position: center; border-radius: 14px; background: var(--surface); }
.small-visual { min-height: 220px; }
.small-visual img { min-height: 220px; }
.case-index { position: absolute; top: 17px; left: 18px; padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 66%, transparent); color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .14em; }
.case-content { padding: var(--card-padding); }
.case-kicker { margin-bottom: 18px; color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.case-content h3 { margin-bottom: 28px; font-size: 30px; line-height: 1.15; }
.case-content h3 span { color: var(--muted); font-size: 15px; font-weight: 400; }
.case-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.case-flow div { border-top: 1px solid var(--line); padding-top: 11px; }
.case-flow span { color: var(--ink); font-size: 15px; font-weight: 750; }
.case-flow p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.case-flow p strong { color: var(--ink); font-weight: 750; }
.case-review { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-review > span { color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.case-review p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.case-tags { margin-top: 30px; }
.case-tags span { padding: 7px 10px; font-size: 13px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 20px; }
.compact-case { padding: var(--card-padding); }
.compact-case h3 { margin-bottom: 15px; font-size: 23px; }
.compact-case p { min-height: 84px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- 校园实践 ---------- */
.practice-item { display: grid; grid-template-columns: 110px 1fr; gap: 25px; margin-bottom: 13px; padding: var(--card-padding); border: 1px solid var(--line); border-radius: var(--card-radius); background: color-mix(in srgb, var(--surface) 72%, transparent); box-shadow: var(--card-shadow); }
.practice-year { color: var(--accent); font-size: 14px; }
.practice-item h3 { margin-bottom: 8px; font-size: 22px; }
.practice-item p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }

/* ---------- 能力工具栈 ---------- */
.skills-stack { display: grid; gap: 16px; }
.skill-group { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; padding: var(--card-padding); border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--card-shadow); }
.skill-label { padding-top: 9px; color: var(--accent); font-size: 14px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.skill-text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* ---------- 作品集 ---------- */
.portfolio-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: var(--card-padding); border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--card-shadow); }
.portfolio-links { border-top: 1px solid var(--line); }
.portfolio-link { display: flex; align-items: baseline; justify-content: flex-end; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; white-space: nowrap; }
.portfolio-link span { color: var(--muted); font-size: 13px; }
.portfolio-link strong { font-size: 16px; font-weight: 650; }
.portfolio-link:hover strong { color: var(--accent); }
.portfolio-link.is-placeholder { opacity: .5; }
.portfolio-card h2 { font-size: clamp(34px, 3.4vw, 44px); }
@media (max-width: 600px) {
  .portfolio-card h2 { font-size: clamp(30px, 9vw, 38px); }
  .portfolio-link { gap: 10px; }
  .portfolio-link span { font-size: 12px; }
}
@media (max-width: 360px) {
  .portfolio-link { gap: 8px; }
  .portfolio-link strong { font-size: 14px; }
  .portfolio-link span { font-size: 11px; }
}

/* ---------- 联系 ---------- */
.contact-section { background: var(--ink); color: var(--bg); }
.contact-section .eyebrow { color: var(--accent); }
.contact-section h2 { color: var(--bg); }
.contact-lede { max-width: 500px; margin-top: 28px; color: color-mix(in srgb, var(--bg) 65%, var(--ink)); font-size: 18px; line-height: 1.72; }
.contact-panel { padding: var(--card-padding); border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); border-radius: var(--card-radius); background: color-mix(in srgb, var(--bg) 6%, transparent); }
.contact-line { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); font-size: 16px; }
.contact-line:first-child { border-top: 0; }
.contact-line span { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }
.contact-line a:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 10px; margin-top: 29px; }
.contact-section .button-primary { background: var(--bg); color: var(--ink); }
.contact-section .button-primary:hover { background: var(--accent); color: var(--ink); }
.contact-section .button-outline { border-color: color-mix(in srgb, var(--bg) 30%, transparent); color: var(--bg); }
.contact-section .button-outline:hover { border-color: var(--accent); color: var(--accent); }
.placeholder-note { margin-top: 18px; color: color-mix(in srgb, var(--bg) 52%, var(--ink)); font-size: 13px; line-height: 1.6; }
.placeholder-note code { color: var(--accent); }
.placeholder-note[hidden] { display: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--bg) 55%, var(--ink)); font-size: 13px; letter-spacing: .04em; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }

@keyframes line-grow { to { transform: scaleX(1); } }
@keyframes title-breathe { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes portrait-float { 0%, 100% { transform: rotate(1.75deg) translateY(0); } 50% { transform: rotate(.7deg) translateY(-8px); } }
@keyframes metric-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 各章节节奏 ---------- */
#top.hero { padding-bottom: clamp(72px, 7vh, 88px); }
#about.section-pad { padding-top: clamp(70px, 7vw, 88px); padding-bottom: clamp(78px, 8vw, 100px); }
#education.section-pad { padding-top: clamp(78px, 8vw, 98px); padding-bottom: clamp(70px, 7vw, 88px); }
#achievements.section-pad { padding-top: clamp(70px, 7vw, 88px); padding-bottom: clamp(78px, 8vw, 98px); }
#experience.section-pad { padding-top: clamp(82px, 8vw, 102px); padding-bottom: clamp(88px, 9vw, 108px); }
#projects.section-pad { padding-top: clamp(82px, 8vw, 102px); padding-bottom: clamp(88px, 9vw, 110px); }
#practice.section-pad { padding-top: clamp(76px, 7vw, 92px); padding-bottom: clamp(70px, 7vw, 86px); }
#skills.section-pad { padding-top: clamp(70px, 7vw, 88px); padding-bottom: clamp(78px, 8vw, 98px); }
#portfolio.section-pad { padding-top: clamp(68px, 7vw, 84px); padding-bottom: clamp(78px, 8vw, 96px); }
#contact.contact-section { padding-top: clamp(84px, 8vw, 104px); padding-bottom: clamp(78px, 8vw, 96px); }

/* ---------- 断点：≤1050px ---------- */
@media (max-width: 1050px) {
  .container { width: min(1280px, calc(100% - 40px)); padding-left: 26px; padding-right: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(14rem, .72fr); gap: 2.5rem; }
  .hero-visual { width: min(100%, 16rem); max-width: 16rem; }
  .hero-note { display: none; }
  .metric-strip { gap: 20px; }
}

/* ---------- 断点：≤900px ---------- */
@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu-button { display: grid; }
  .mobile-nav { display: flex; flex-direction: column; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; padding: 0 24px; transition: max-height .3s ease, opacity .2s ease, padding .3s ease, visibility .3s; }
  .mobile-nav.is-open { max-height: 320px; visibility: visible; opacity: 1; padding: 10px 24px 18px; }
  .mobile-nav a { flex: 0 0 auto; min-height: 0; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
  .hero-grid, .two-col, .education-grid, .achievement-grid, .practice-grid, .skills-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.75rem; }
  .hero-visual { justify-self: start; width: min(100%, 17rem); max-width: 17rem; }
  .two-col, .education-grid, .achievement-grid, .practice-grid, .skills-grid, .contact-grid { gap: 32px; }
  .section-intro .eyebrow, .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading { margin-bottom: 30px; }
  .education-copy .education-meta { margin-top: 24px; }
  .featured-case { grid-template-columns: 1fr; }
  .case-visual img { min-height: 280px; }
  .case-grid, .portfolio-card { grid-template-columns: 1fr; }
}

/* ---------- 断点：≤767px ---------- */
@media (max-width: 767px) {
  :root { --card-padding: 22px; --card-radius: 20px; }
  #about .two-col, #education .education-grid, #achievements .achievement-grid { gap: 28px; }
  #education .campus-image, #achievements .achievement-list { order: 2; }
  #projects .featured-case, #projects .case-grid { grid-template-columns: 1fr; }
  #top.hero { padding-bottom: 74px; }
  #about.section-pad, #education.section-pad, #achievements.section-pad, #practice.section-pad, #skills.section-pad { padding-top: 68px; padding-bottom: 74px; }
  #experience.section-pad, #projects.section-pad { padding-top: 74px; padding-bottom: 80px; }
  #portfolio.section-pad { padding-top: 64px; padding-bottom: 76px; }
  #contact.contact-section { padding-top: 78px; padding-bottom: 78px; }
  #projects .case-grid .case-card:last-child .case-visual img { object-position: left center; }
}

/* ---------- 断点：≤600px ---------- */
@media (max-width: 600px) {
  .container { width: calc(100% - 24px); padding-left: 12px; padding-right: 12px; }
  h2 { font-size: clamp(38px, 11vw, 48px); }
  .hero { padding-top: 3.25rem; padding-bottom: 4.25rem; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4rem); }
  .hero .eyebrow { font-size: 15px; }
  .hero-lede { margin-top: 1.3rem; font-size: 1.0625rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 2.2rem; }
  .hero-proof div { padding-left: 10px; }
  .hero-proof strong { font-size: 24px; }
  .hero-proof span { font-size: 13px; line-height: 1.35; }
  .section-intro .eyebrow, .education-copy .eyebrow, .section-heading .eyebrow, .contact-grid .eyebrow { font-size: 14px; }
  .section-intro h2, .education-copy h2, .section-heading h2, .contact-grid h2 { font-size: clamp(38px, 10.5vw, 48px); }
  .two-col, .education-grid, .achievement-grid, .practice-grid, .skills-grid, .contact-grid { gap: 26px; }
  .section-heading { margin-bottom: 26px; }
  .experience-card { padding: 25px 22px 27px; }
  .experience-main { flex-direction: column; gap: 25px; }
  .experience-detail, .case-flow { grid-template-columns: 1fr; gap: 17px; }
  .achievement-list { padding-inline: 17px; }
  .achievement-item { align-items: flex-start; flex-direction: column; gap: 6px; }
  .achievement-item strong, .achievement-item span { max-width: none; text-align: left; }
  .case-content h3 { font-size: 26px; }
  .compact-case p { min-height: 0; }
  .practice-item { grid-template-columns: 1fr; gap: 9px; }
  .skill-group { grid-template-columns: 1fr; gap: 10px; }
  .experience-card-secondary .metric-strip { width: 100%; min-width: 0; gap: 18px 20px; }
  .creator-profile-shot { flex-basis: auto; width: 168px; max-width: 100%; }
  .contact-line { flex-direction: column; gap: 5px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-panel { padding: 18px 20px 22px; }
}

/* ---------- 断点：≤360px ---------- */
@media (max-width: 360px) {
  .brand { gap: 7px; font-size: 13px; }
  .brand-mark { width: 29px; height: 29px; }
  .header-actions { gap: 6px; }
  .hero h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { grid-template-columns: 1fr; gap: 17px; }
  .hero-proof strong { font-size: 24px; }
  .hero-proof span { font-size: 13px; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
