:root {
  color-scheme: light dark;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --ink: #171c29;
  --muted: #535966;
  --line: #dcdedc;
  --accent: #2547d5;
  --accent-deep: #1936ac;
  --tint: #e9eeff;
  --panel: #203db4;
  --panel-ink: #ffffff;
  --panel-muted: #dbe4ff;
  --max-width: 1140px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17191f;
    --surface: #20232c;
    --ink: #f2f3f8;
    --muted: #b7bdca;
    --line: #363b48;
    --accent: #a8b9ff;
    --accent-deep: #d1daff;
    --tint: #283251;
    --panel: #222f69;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.7; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .24em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max-width)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-180%); background: var(--surface); padding: 6px 12px; }
.skip:focus { transform: none; }
.site-header { position: sticky; inset-block-start: 0; z-index: 4; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { color: var(--ink); display: inline-flex; align-items: center; font: 750 25px/1 system-ui, sans-serif; letter-spacing: -.075em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-period, .dot { color: var(--accent); }
.mark { display: inline-block; margin-right: 8px; width: 13px; height: 13px; border-left: 4px solid var(--accent); border-bottom: 4px solid var(--accent); transform: skew(-10deg); }
.hero { padding-block-start: clamp(44px, 7vw, 98px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5.5vw, 76px); }
.eyebrow, .date { color: var(--accent); font-size: .84rem; font-weight: 700; }
.eyebrow { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; letter-spacing: .09em; }
.dot, .panel-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
h1 { font-size: clamp(54px, 7.45vw, 110px); font-weight: 850; letter-spacing: -.083em; line-height: 1.05; }
h1 span { color: var(--accent); display: inline-block; font: 750 .83em/.98 system-ui, sans-serif; letter-spacing: -.095em; margin-inline-start: .11em; }
.position { margin-top: 18px; font-size: clamp(19px, 2.65vw, 28px); font-weight: 740; letter-spacing: -.035em; line-height: 1.45; }
.introduction { margin-top: 15px; max-width: 37em; color: var(--muted); }
.actions { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 8px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid transparent; border-radius: 7px; padding: 8px 15px; font-weight: 700; font-size: .9rem; transition: background .16s ease; }
.button:hover { text-decoration: none; }
.button.primary { background: var(--accent); color: var(--paper); }
.button.primary:hover { background: var(--accent-deep); }
.button.secondary { border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: var(--tint); }
.hero-panel { position: relative; overflow: hidden; color: var(--panel-ink); background-color: var(--panel); background-image: linear-gradient(90deg, #fff0 62%, #ffffff09), repeating-linear-gradient(90deg, #ffffff0c 0 1px, transparent 1px 32px), repeating-linear-gradient(0deg, #ffffff0c 0 1px, transparent 1px 32px); border-radius: var(--radius); isolation: isolate; padding: clamp(24px, 3.5vw, 40px); }
.hero-panel::before { content: ""; position: absolute; inset: -60px -125px auto auto; border: 1px solid #ffffff38; border-radius: 50%; width: 275px; aspect-ratio: 1; box-shadow: 0 0 0 25px #ffffff09, 0 0 0 62px #ffffff09, 0 0 0 92px #ffffff07; z-index: -1; }
.panel-top { color: var(--panel-muted); display: flex; align-items: center; gap: 9px; font-size: .83rem; font-weight: 700; letter-spacing: .09em; }
.panel-dot { width: 6px; height: 6px; }
.section { padding-block: clamp(55px, 7.6vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 11px; align-items: end; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(22px, 4vw, 38px); }
h2 { font-size: clamp(32px, 5vw, 53px); font-weight: 800; letter-spacing: -.065em; }
.section-head p { color: var(--muted); align-self: end; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; padding: 0; list-style: none; }
.flow li { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 16px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; min-height: 88px; }
.flow li:last-child { background: var(--tint); border-color: var(--accent); }
.flow li:not(:last-child)::after { content: "›"; position: absolute; left: calc(100% + 4px); top: 50%; transform: translateY(-55%); color: var(--accent); font: 650 22px/1 system-ui, sans-serif; }
.flow strong { color: var(--accent); font-size: .95rem; line-height: 1.35; }
.flow li span { font-size: .8rem; color: var(--muted); }
.method-notes { margin-top: 29px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 33px); }
.method-notes h3, .skills-grid h3 { font-size: 1.22rem; }
.method-notes p { font-size: .91rem; color: var(--muted); margin-top: 8px; }
.timeline { list-style: none; padding: 0; }
.timeline li { padding: 24px 0; display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: 12px 20px; }
.timeline li:not(:last-child) { border-bottom: 1px solid var(--line); }
.date { font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: clamp(21px, 3vw, 27px); letter-spacing: -.04em; }
.timeline h3 + p { margin-top: 7px; }
.timeline div p { color: var(--muted); }
.timeline div .role { color: var(--ink); font-weight: 700; font-size: .92rem; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.project-filters .button { background: var(--surface); border-color: var(--line); color: var(--ink); }
.project-filters .button:hover { background: var(--tint); }
.project-filters .button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.project-filters .button[aria-pressed="true"]:focus-visible { outline-color: var(--accent); }
.project-filters button, .project-more, .project-dialog button { font-family: inherit; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.project { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.project[hidden], .project-more[hidden] { display: none; }
.project:hover, .project:focus-within { border-color: var(--accent); }
.project-cover { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-bottom: 1px solid var(--line); background: var(--tint); }
.project-body { display: flex; flex: 1; flex-direction: column; padding: clamp(16px, 2vw, 24px); min-width: 0; }
.project h3 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 25px); letter-spacing: -.04em; }
.project-open { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0; width: 100%; color: var(--ink); text-align: left; font: inherit; background: none; border: none; cursor: pointer; overflow-wrap: anywhere; }
.project-open > span { color: var(--accent); font-size: .75em; }
.project-open::after { position: absolute; inset: 0; content: ""; border-radius: var(--radius); }
.project-open:focus-visible { outline: none; }
.project-open:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -4px; }
.project-subtitle { color: var(--muted); font-size: .91rem; }
.project-role { margin-block: 8px 12px; font-size: .8rem; font-weight: 700; color: var(--accent); }
.project-stats { display: flex; margin: auto 0 13px; padding-block: 9px; border-block: 1px solid var(--line); }
.project-stats div { display: flex; flex: 1 0 0; flex-direction: column-reverse; min-width: 0; padding-inline: clamp(5px, 1vw, 10px); }
.project-stats div:first-child { padding-inline-start: 0; }
.project-stats div + div { border-inline-start: 1px solid var(--line); }
.project-stats dt { color: var(--muted); font-size: .72rem; line-height: 1.45; overflow-wrap: anywhere; }
.project-stats dd { color: var(--ink); font-size: clamp(18px, 2vw, 23px); line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.project-more { display: flex; margin: 20px auto 0; background: var(--surface); }
.resume-projects { margin-top: clamp(30px, 5vw, 60px); }
.resume-projects > h3 { margin-bottom: 12px; font-size: 1.3rem; }
.resume-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.resume-project-grid article { min-width: 0; border-top: 1px solid var(--line); padding-block: 13px; }
.resume-project-grid h4 { margin: 0 0 6px; }
.case-notes { display: grid; gap: 5px; }
.case-notes div { display: grid; grid-template-columns: 2.25em minmax(0, 1fr); gap: 8px; font-size: .9rem; }
.case-notes dt { font-weight: 700; }
.case-notes dd { color: var(--muted); }
html:has(.project-dialog[open]) { overflow: hidden; }
.project-dialog { position: fixed; inset: 0; width: min(760px, calc(100% - 48px)); max-width: none; max-height: calc(100% - 48px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.project-dialog::backdrop { background: #11182bbb; }
.project-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px clamp(16px, 4vw, 34px); background: var(--surface); border-bottom: 1px solid var(--line); }
.project-dialog-header h2 { font-size: clamp(20px, 4vw, 33px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.project-dialog-header button { flex: none; padding-inline: 11px; background: var(--surface); }
.project-dialog-body { display: grid; gap: 16px; padding: 20px clamp(16px, 4vw, 34px) 28px; }
.project-dialog-body section { display: grid; gap: 7px; min-width: 0; }
.project-dialog-body h3 { font-size: 1.13rem; }
.project-dialog-body p { color: var(--muted); overflow-wrap: anywhere; }
.architecture-chain { padding: 10px 12px; border-radius: 8px; background: var(--tint); }
.flow-arrow { color: var(--accent); font-weight: 700; }
.architecture { width: 100%; height: auto; max-width: 470px; margin: 4px auto; }
.project-dialog-body .project-evidence { display: flex; flex-wrap: wrap; gap: 3px 14px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.project-evidence a { text-decoration: underline; }
@media (max-width: 960px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .project-grid, .resume-project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-dialog { inset: 0; width: 100%; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
}
.skills-grid ul { list-style: none; padding: 0; margin-top: 15px; }
.skills-grid li { border-top: 1px solid var(--line); padding: 9px 0; color: var(--muted); font-size: .88rem; }
.skills-grid li a { display: block; margin-top: 2px; font-weight: 700; }
.contact-links { display: flex; gap: 6px 25px; flex-wrap: wrap; min-width: 0; }
.contact-links a { color: var(--panel-ink); font-weight: 700; padding: 6px 0; overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 25px; }
  .flow { gap: 12px; }
  .flow li { padding: 11px 8px; }
  .flow li:not(:last-child)::after { left: calc(100% + 2px); }
}
@media (max-width: 670px) {
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 58px; }
  .hero-grid, .section-head, .method-notes, .project-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { max-width: none; }
  .flow { grid-template-columns: 1fr; gap: 13px; }
  .flow li { padding: 9px 13px; min-height: 0; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
  .flow li:not(:last-child)::after { left: 50%; top: 100%; transform: translate(-50%, -20%) rotate(90deg); }
  .method-notes { gap: 18px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}
@media (max-width: 410px) {
  .brand { font-size: 21px; }
  .button { padding-inline: 10px; gap: 6px; }
  .skills-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.header-actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.header-actions > a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; }
.print-button { cursor: pointer; font-family: inherit; background: var(--surface); border-color: var(--line); color: var(--ink); }
.print-button:hover { background: var(--tint); }
.hero-panel h2 { margin-top: 18px; font-size: clamp(28px, 4.15vw, 54px); overflow-wrap: anywhere; }
.hero-panel h2 a { color: var(--panel-ink); }
.hero-panel h2 span { color: var(--panel-muted); font-size: .46em; vertical-align: top; margin-inline-start: .25em; }
.featured-summary { margin-top: 10px; color: var(--panel-muted); }
.featured-scale { margin-top: 25px; padding: 14px 0; border-block: 1px solid #ffffff49; }
.featured-scale p { line-height: 1.4; font-weight: 650; }
.featured-scale strong { font: 800 1.4em/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.featured-scale small { display: block; margin-top: 7px; font-size: .78rem; line-height: 1.5; color: var(--panel-muted); }
.featured-link { display: inline-block; margin-top: 12px; padding-block: 6px; color: var(--panel-ink); font-size: .87rem; font-weight: 700; }

.section-nav { margin-top: clamp(31px, 4vw, 55px); border-block: 1px solid var(--line); padding-block: 8px; }
.section-nav ol { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: stretch; padding: 0; list-style: none; gap: 4px; }
.section-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; gap: 5px; padding-inline: 5px; border-radius: 6px; color: var(--ink); font-size: .84rem; font-weight: 650; white-space: nowrap; }
.section-nav a:hover { background: var(--tint); text-decoration: none; }
.section-nav a span, .section-number { color: var(--accent); font-family: ui-monospace, Consolas, monospace; font-variant-numeric: tabular-nums; }
.section-head h2 { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 25px); }
.section-number { font-size: .4em; font-weight: 700; letter-spacing: .01em; }
.profile-text { max-width: 48em; font-size: clamp(17px, 2.1vw, 21px); line-height: 1.85; color: var(--muted); }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.capability-grid article { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.4vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.capability-grid h3 { font-size: 1.16rem; letter-spacing: -.025em; }
.capability-grid p { margin-block: 9px 13px; color: var(--muted); font-size: .92rem; }
.capability-grid a { align-self: start; margin-top: auto; font-size: .84rem; font-weight: 700; }

.milestones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(18px, 3vw, 30px); padding: 0; list-style: none; }
.milestones li { position: relative; padding-top: 11px; border-top: 1px solid var(--line); }
.milestones li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.milestones a { display: inline-flex; flex-direction: column; min-height: 44px; gap: 2px; padding-block: 1px 6px; color: var(--ink); font-size: .88rem; }
.milestones time { color: var(--accent); font: 750 clamp(.84rem, 2.3vw, 1.3rem)/1.25 ui-monospace, Consolas, monospace; }
.milestones a:hover { color: var(--accent); }
.education { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: 8px 20px; align-items: baseline; }
.education h3 { font-size: 1.22rem; }
.education div p { margin-top: 6px; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { border-radius: 100px; padding: 2px 9px; font-size: .78rem; line-height: 1.45; }
.tags { margin-bottom: 17px; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); color: var(--muted); }
.method-notes a { display: inline-block; margin-top: 8px; padding-block: 4px; font-weight: 700; font-size: .89rem; }

.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.demo { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: clip; color: var(--ink); }
.demo:hover { text-decoration: none; border-color: var(--accent); }
.demo:hover .demo-action { text-decoration: underline; }
.demo-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.demo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.demo-body { display: flex; flex-direction: column; flex: 1; align-items: start; gap: 8px; padding: clamp(14px, 2.4vw, 23px); }
.demo-kind { color: var(--accent); font-size: .77rem; font-weight: 750; }
.demo-body h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.demo-body p { color: var(--muted); font-size: .88rem; }
.demo-action { margin-top: auto; padding-top: 4px; color: var(--accent); font-size: .86rem; font-weight: 700; }

.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.skills-grid article { min-width: 0; padding: clamp(15px, 2.4vw, 23px); border: 1px solid var(--line); border-radius: 10px; }
.contact { border-top: 1px solid var(--line); }
.contact-links a { color: var(--accent); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 14px 2px; font-weight: 700; }
.faq-list summary::marker { color: var(--accent); }
.faq-list summary:hover { color: var(--accent); }
.faq-list p { max-width: 48em; padding: 0 8px 14px 1.25em; color: var(--muted); }

@media (max-width: 1180px) {
  .section-nav ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .section-nav a { justify-content: start; padding-inline: 10px; }
  .desktop-break { display: none; }
}
@media (max-width: 850px) {
  .capability-grid, .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .method-notes, .education { grid-template-columns: minmax(0, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .section-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid, .demo-grid, .skills-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .featured-scale p { font-size: .92rem; }
}
@page { size: A4; margin: 10mm 12mm; }
@media print {
  :root {
    color-scheme: light;
    --paper: #fff;
    --surface: #fff;
    --ink: #151515;
    --muted: #242424;
    --line: #bcbcbc;
    --accent: #212121;
    --tint: #fff;
    --panel-ink: #151515;
    --panel-muted: #242424;
  }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  body { font-size: 9pt; line-height: 1.38; }
  .wrap { width: 100%; }
  .site-header, .skip, .actions, .section-nav, .flow, .milestones, #study-stage,
  .demo-thumb, .demo-kind, .demo-action, .demo-body p, .method-notes a, .capability-grid p, .capability-grid a,
  .project-filters, .project-grid, .project-more, .project-dialog, .resume-projects > h3 { display: none; }
  .hero { padding: 0 0 5pt; border-bottom: 1pt solid var(--ink); }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 12pt; align-items: start; }
  .hero h1 { font-size: 23pt; letter-spacing: -.04em; }
  .eyebrow, .position, .introduction { margin: 0 0 3pt; }
  .eyebrow, .panel-top, .featured-scale small { font-size: 8pt; }
  .position { font-size: 11pt; }
  .hero-panel { padding: 2pt 0 0 8pt; border-left: 1px solid var(--line); background: #fff; border-radius: 0; }
  .hero-panel::before { content: none; }
  .hero-panel h2 { font-size: 12pt; margin: 3pt 0; letter-spacing: 0; }
  .hero-panel h2 span, .featured-summary { display: none; }
  .featured-scale { margin: 0; padding: 0; border: 0; }
  .featured-scale strong { font-size: 1em; }
  .featured-scale small { margin-top: 2pt; }
  .featured-link { margin-top: 2pt; padding: 0; font-size: 8pt; text-decoration: underline; }
  .section { padding: 5pt 0; }
  .section-head { margin-bottom: 4pt; }
  .section-head h2 { font-size: 12pt; letter-spacing: 0; gap: 6pt; }
  .section-number { font-size: 8pt; }
  .profile-text { max-width: none; font-size: inherit; line-height: inherit; }
  .capability-grid, .skills-grid, .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4pt 8pt; }
  .capability-grid article, .skills-grid article, .demo { padding: 0; border: 0; border-radius: 0; break-inside: avoid; overflow: visible; }
  .capability-grid h3, .timeline h3, .education h3, .resume-project-grid h4, .method-notes h3, .demo-body h3, .skills-grid h3 { font-size: 9pt; letter-spacing: 0; }
  .timeline h3 + p, .education div p, .method-notes p { margin: 2pt 0 0; font-size: inherit; }
  .timeline li { grid-template-columns: 8.9em 1fr; gap: 5pt; padding: 2pt 0; break-inside: avoid; }
  .date, .timeline div .role, .case-notes div { font-size: inherit; }
  .resume-project-grid, .method-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5pt 10pt; }
  .resume-projects { margin: 0; }
  .resume-project-grid article { padding: 0; border: 0; break-inside: avoid; }
  .resume-project-grid h4 { margin: 0 0 2pt; }
  .case-notes { gap: 1pt; }
  .case-notes div { grid-template-columns: 2.25em 1fr; gap: 3pt; }
  .method-notes { margin: 0; }
  .method-notes article { padding-top: 2pt; border: 0; break-inside: avoid; }
  .demo-body { padding: 0; gap: 2pt; }
  .skills-grid ul { margin-top: 2pt; }
  .skills-grid li { padding: 1pt 0; border: 0; font-size: inherit; }
  .skills-grid li a { display: inline; margin: 0; }
  .education { grid-template-columns: 8.9em 1fr; gap: 5pt; }
  .contact-links { gap: 10pt; }
  .contact-links a { padding: 0; }
  .faq-list, .faq-list details { border: 0; }
  .faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3pt 10pt; }
  .faq-list details { break-inside: avoid; }
  .faq-list details::details-content { content-visibility: visible; }
  .faq-list summary { padding: 0; list-style: none; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list p { padding: 1pt 0 0; }
}
