/* Resume reading hierarchy: shared chapter boundaries, content-specific grouping. */
@media screen {
  .resume-content > .section:not(.profile-section) { margin-bottom:88px; }
  .resume-content .section-heading { padding:24px 0;margin-bottom:32px;border-top:1px solid var(--accent);border-bottom:1px solid var(--line); }
  .resume-content .section-heading h2 { display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 28px; }
  .resume-content .section-heading .section-cn { color:var(--text);font-family:var(--sans);font-size:25px;font-weight:600;line-height:1.5;letter-spacing:.01em; }
  .resume-content .section-heading .section-en { color:var(--body);font-family:var(--display);font-size:clamp(30px,3.3vw,44px);font-weight:500;line-height:1.15;letter-spacing:-.03em; }

  #experience .experience { position:relative;margin-left:5px;padding:0 0 36px 28px;border-bottom:0;border-left:1px solid var(--line); }
  #experience .experience::before { content:"";position:absolute;left:-5px;top:10px;width:9px;height:9px;border-radius:50%;background:var(--muted);border:2px solid var(--bg); }
  #experience .experience.featured::before { background:var(--accent); }
  #experience .experience:last-child { padding-bottom:0; }
  #experience .experience-head { gap:20px; }
  #experience .experience time { color:var(--body);font-size:11px; }
  #experience .experience h3 { font-size:18px; }
  #experience .experience.featured h3 { font-size:23px; }

  #projects .section-intro { margin-bottom:24px; }
  #projects .project-story { padding:26px 28px;margin-bottom:20px;border:0;border-radius:16px;background:var(--surface); }
  #projects .project-story h3 { font-size:22px; }
  #projects .project-story > p { max-width:72ch; }
  #projects .architecture-projects { margin-top:40px;padding:0;border:0;border-radius:0;background:transparent;scroll-margin-top:120px; }
  #projects .architecture-projects > h3 { margin:0 0 12px;font-size:18px;font-weight:500;line-height:1.7;color:var(--text); }
  #projects .architecture-group-intro { margin:0 0 24px;font-size:14px;color:var(--body);line-height:1.95; }
  #projects .architecture-story h4 { margin:0;font-size:22px;font-weight:500;line-height:1.65;color:var(--text); }
  #projects .architecture-title-link { display:inline-flex;align-items:center;gap:16px;min-height:44px;color:inherit;text-decoration:none; }
  #projects .architecture-title-link svg { flex-shrink:0; }
  #projects .architecture-title-link:hover { color:var(--accent); }
  #projects .architecture-story:last-child { margin-bottom:0; }

  #skills .skills-grid { gap:0 36px; }
  #skills .skill-group { min-width:0;padding:24px 0;border-top:1px solid var(--line); }
  #skills .skill-group h3 { margin-bottom:10px;font-size:17px;font-weight:500; }
  #skills .skill-group p { font-size:14px;line-height:1.95; }
  #skills .skill-wide { border-bottom:1px solid var(--line); }

  #education .education-row { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:26px 28px;margin-bottom:30px;background:var(--surface); }
  #education .education-row h3 { font-size:25px;line-height:1.5; }
  #education .education-row p { margin-top:9px;font-size:14px; }
  #education .education-row time { font-size:11px;color:var(--body); }
  #education .honors-title { margin:0 0 12px;font-size:15px;font-weight:500;color:var(--text); }
  #education .honors { gap:0 28px; }
  #education .honors li { padding:13px 0 13px 16px;border-bottom:1px solid var(--line);font-size:13px; }
  #education .honors li::before { top:24px;background:var(--accent); }
}
@media screen and (max-width:1100px) {
  .resume-content .section-heading .section-en { font-size:34px; }
  .resume-content .section-heading .section-cn { font-size:23px; }
  #experience .experience-head { display:grid;gap:5px; }
}
@media screen and (max-width:767px) {
  .resume-content > .section:not(.profile-section) { margin-bottom:60px; }
  .resume-content .section-heading { padding:20px 0;margin-bottom:26px; }
  .resume-content .section-heading h2 { gap:8px 16px; }
  .resume-content .section-heading .section-cn { font-size:20px;letter-spacing:0; }
  .resume-content .section-heading .section-en { font-size:28px; }
  #experience .experience { padding:0 0 30px 22px; }
  #experience .experience h3 { font-size:16px; }
  #experience .experience.featured h3 { font-size:21px; }
  #experience .experience time { font-size:10px; }
  #experience .workflow-feature { padding:18px 16px; }
  #projects .project-story { padding:23px 20px;margin-bottom:18px; }
  #projects .project-story h3 { font-size:19px; }
  #projects .project-category { flex-wrap:wrap;gap:8px 14px; }
  #projects .architecture-projects { padding:0;scroll-margin-top:155px; }
  #projects .architecture-projects > h3 { font-size:17px; }
  #projects .architecture-group-intro { font-size:13px; }
  #projects .architecture-story h4 { font-size:19px; }
  #skills .skills-grid { grid-template-columns:1fr; }
  #skills .skill-group { padding:20px 0; }
  #skills .skill-group h3 { font-size:16px; }
  #skills .skill-group p { font-size:13px; }
  #education .education-row { grid-template-columns:1fr;gap:13px;padding:23px 20px;margin-bottom:26px; }
  #education .education-row h3 { font-size:23px; }
  #education .education-row p { font-size:13px; }
  #education .honors { grid-template-columns:1fr; }
  #education .honors li { font-size:12px; }
}
@media screen and (max-width:359px) {
  .resume-content .section-heading h2 { align-items:flex-start;flex-direction:column;gap:8px; }
}
@media print {
  .architecture-projects > h3 { margin:12pt 0 6pt;font-size:11pt; }
  .architecture-story h4 { margin:10pt 0 4pt;font-size:11pt; }
  .architecture-story > p { margin:4pt 0;font-size:9pt; }
}
