/* Zimo — a quiet blue / lilac personal space. No framework or external fonts. */
:root {
  color-scheme: light;
  --bg: #f8f6fa;
  --surface: #fffefe;
  --surface-soft: #fafbfe;
  --ink: #2b3245;
  --body: #586176;
  --muted: #666f81;
  --line: #e8e5ef;
  --accent: #476da5;
  --accent-strong: #426ba7;
  --sky: #edf3fc;
  --lilac: #f1eef9;
  --purple: #755d9c;
  --shadow: 0 4px 28px rgb(47 57 96 / 3%);
  --shadow-hover: 0 12px 36px rgb(61 76 123 / 9%);
  --radius: 16px;
  --container: 1260px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151925;
  --surface: #1d2232;
  --surface-soft: #222839;
  --ink: #e4e8f3;
  --body: #b3bbd0;
  --muted: #a0aac0;
  --line: #30384c;
  --accent: #9dbce9;
  --accent-strong: #bbd2f5;
  --sky: #28334b;
  --lilac: #302c45;
  --purple: #c2afe6;
  --shadow: 0 4px 28px rgb(0 0 0 / 7%);
  --shadow-hover: 0 12px 36px rgb(0 0 0 / 18%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 15px/1.85 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button, a, .panel { transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
h1, h2, h3, h4, p, ul { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.45; }
::selection { background: #cddaf4; color: #28364e; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 96px), var(--container)); margin-inline: auto; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.eyebrow { color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .17em; }
.muted { color: var(--muted); }
.multiline { white-space: pre-line; }
.small-star { color: var(--purple); font-size: 20px; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 18px; color: var(--ink); background: var(--surface); border: 1px solid var(--accent); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { height: 74px; position: sticky; top: 0; z-index: 30; background: rgb(250 251 255 / 91%); border-bottom: 1px solid rgb(220 225 239 / 60%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
:root[data-theme="dark"] .site-header { background: rgb(21 25 37 / 92%); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.reading-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#8eacd9,#b4a1d0 62%,#d9aec7); pointer-events: none; opacity: .85; }
.brand { color: var(--ink); font: italic 600 31px/1 Georgia, serif; letter-spacing: -1.8px; }
.brand span { color: var(--accent); }
.brand-suffix { font: 9px/1 var(--mono); letter-spacing: .17em; margin-left: 14px; color: var(--muted); }
.brand-group { display: flex; align-items: center; flex-shrink: 0; }
.header-links { display: flex; align-items: center; justify-content: center; gap: 31px; margin-left: auto; }
.header-links a { color: var(--body); font-size: 13px; position: relative; padding-block: 23px; }
.header-links a:hover, .header-links a[aria-current="location"] { color: var(--accent); }
.header-links a::after { position: absolute; content: ""; width: 0; height: 2px; background: var(--accent); bottom: 14px; left: 50%; transform: translateX(-50%); transition: width .2s; border-radius: 2px; }
.header-links a[aria-current="location"]::after { width: 16px; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.language-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.language-switch button { border: 0; background: transparent; font: 11px/1.7 var(--sans); padding: 2px 8px; border-radius: 5px; color: var(--muted); min-height: 27px; }
.language-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgb(70 81 120 / 10%); }
.icon-button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--body); padding: 7px; flex-shrink: 0; }
.icon-button:hover { background: var(--sky); color: var(--accent); }
.icon-button svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }
.hero { min-height: 418px; position: relative; isolation: isolate; overflow: hidden; }
.hero-landscape { position: absolute; inset: 0; z-index: -2; background: #efe8f4 url("../images/wishing-tree-scene.webp") no-repeat center 44%; background-size: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(255 250 252 / 88%) 0%, rgb(250 245 254 / 65%) 32%, rgb(250 245 254 / 8%) 72%), linear-gradient(0deg, var(--bg), transparent 30%); }
:root[data-theme="dark"] .hero-landscape { filter: brightness(.4) saturate(.72); }
:root[data-theme="dark"] .hero::after { background: linear-gradient(90deg, rgb(21 25 37 / 50%), transparent 80%), linear-gradient(0deg, var(--bg), transparent 38%); }
.hero-inner { position: relative; padding-block: 45px 53px; }
.hero-eyebrow { display: flex; align-items: center; gap: 11px; font-size: 10px; letter-spacing: .2em; color: #6c7b99; }
:root[data-theme="dark"] .hero-eyebrow { color: var(--body); }
.hero h1 { margin-top: 20px; max-width: 820px; font: 600 clamp(38px, 3.4vw, 53px)/1.47 var(--serif); letter-spacing: .015em; color: #35425b; }
.hero h1 > span { display: block; }
.hero h1 .hero-accent { color: #6686ba; }
:root[data-theme="dark"] .hero h1 { color: #e5eafa; }
:root[data-theme="dark"] .hero h1 .hero-accent { color: #b3c5ee; }
.hero-description { max-width: 510px; font-size: 14px; line-height: 1.95; margin-top: 17px; color: #63738f; }
:root[data-theme="dark"] .hero-description { color: #c3cbe2; }
.hero-actions { display: flex; gap: 25px; align-items: center; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; line-height: 1.6; font-weight: 500; min-height: 43px; }
.button svg { width: 17px; height: 17px; }
.button-primary { background: #5773a2; color: #fff; border-color: #5773a2; box-shadow: 0 4px 12px rgb(83 116 166 / 10%); }
.button-primary:hover { background: #526f9f; border-color: #526f9f; color: #fff; transform: translateY(-2px); }
.button-secondary { background: var(--sky); color: var(--accent); }
.button-secondary:hover { background: var(--lilac); color: var(--purple); }
.button-plain { background: var(--surface); border-color: var(--line); }
.button-plain:hover { border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 12px; font-weight: 500; }
.text-link > span:last-child { transition: transform .2s; }
.text-link:hover > span:last-child { transform: translate(2px,-2px); }
.hero-coordinate { position: absolute; right: max(48px, calc((100vw - var(--container)) / 2)); bottom: 65px; color: #7b88a6; font: 9px/1.8 var(--mono); letter-spacing: .12em; text-align: right; }
.hero-coordinate span { display: block; font-size: 8px; letter-spacing: .22em; }
:root[data-theme="dark"] .hero-coordinate { color: #b0b8cf; }
.page-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 32px; position: relative; margin-top: -25px; }
.sidebar { position: sticky; top: 96px; align-self: start; }
.profile-card { padding: 25px 21px 18px; text-align: center; }
.avatar-wrap { width: 96px; height: 96px; position: relative; margin: 0 auto; }
.avatar { border-radius: 50%; object-fit: cover; width: 100%; height: 100%; border: 5px solid var(--surface); box-shadow: 0 0 0 1px #dbe3f2, 0 4px 18px rgb(100 127 174 / 9%); }
.avatar-spark { position: absolute; right: -5px; bottom: 2px; width: 29px; height: 29px; border: 3px solid var(--surface); background: var(--lilac); border-radius: 50%; display: grid; place-items: center; color: var(--purple); font-size: 15px; }
.profile-kicker { font: 8px/1.6 var(--mono); color: var(--muted); letter-spacing: .18em; margin-top: 17px; }
.profile-name { font-size: 25px; letter-spacing: .1em; margin-top: 4px; }
.profile-alias { font: 12px/1.8 Georgia, serif; color: var(--muted); margin-top: 3px; letter-spacing: .03em; }
.profile-alias span { color: #b1b6c6; margin-inline: 5px; }
.profile-role { font-size: 10px; color: var(--muted); margin-top: 10px; }
.profile-divider { height: 1px; background: var(--line); margin-block: 18px 17px; }
.profile-info { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; text-align: left; line-height: 1.8; margin-top: 10px; }
.profile-info > span { margin-top: 3px; color: var(--accent); }
.profile-info svg { width: 16px; height: 16px; }
.profile-info .muted { font-size: 10px; margin-top: 3px; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-block: 20px 18px; }
.profile-stats div + div { border-left: 1px solid var(--line); }
.profile-stats strong { display: block; color: var(--ink); font: 21px/1.4 Georgia,serif; }
.profile-stats span { color: var(--muted); font-size: 10px; display: block; margin-top: 4px; }
.button-resume { width: 100%; background: var(--sky); color: var(--accent); }
.button-resume > span:last-child { margin-left: auto; }
.button-resume:hover { background: var(--lilac); color: var(--purple); }
.profile-social { display: flex; justify-content: center; gap: 21px; margin-top: 18px; }
.profile-social a { padding: 4px; color: var(--muted); }
.profile-social a:hover { color: var(--accent); transform: translateY(-2px); }
.profile-social svg { width: 18px; height: 18px; }
.sidebar-nav { padding: 12px; margin-top: 17px; }
.sidebar-nav a { display: flex; align-items: center; gap: 13px; padding: 8px 13px; font-size: 12px; border-radius: 7px; }
.sidebar-nav a[aria-current="location"], .sidebar-nav a:hover { background: var(--sky); color: var(--accent); }
.sidebar-nav .nav-number { font: 9px var(--mono); color: var(--muted); }
.sidebar-nav a > span:last-child { margin-left: auto; font-size: 12px; color: var(--muted); }
.sidebar-note { text-align: center; padding: 26px 13px 0; }
.sidebar-note .multiline { font: 12px/2 var(--serif); color: var(--muted); margin-top: 13px; }
.sidebar-note-line { width: 23px; height: 1px; background: var(--line); display: block; margin: 15px auto; }
.sidebar-note > p:last-child { font: 7px/1.8 var(--mono); letter-spacing: .14em; color: var(--muted); }
.main-content { min-width: 0; }
.main-content:focus { outline: none; }
.intro { padding: 27px 34px 25px; }
.intro-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.status-pill { display: inline-flex; gap: 6px; align-items: center; font-size: 9px; color: var(--accent); border-radius: 20px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #91a7d3; box-shadow: 0 0 0 3px rgb(145 167 211 / 13%); }
.intro h2 { font-size: 25px; letter-spacing: -.025em; margin-block: 18px 14px; }
.intro > p { font-size: 13px; line-height: 2.05; }
.intro > p + p { margin-top: 10px; }
.interest-tags { display: flex; gap: 19px; margin-top: 22px; flex-wrap: wrap; }
.interest-tags > span { display: inline-flex; align-items: center; gap: 6px; font: 9px/1.8 var(--mono); color: var(--muted); }
.interest-tags i { width: 4px; height: 4px; background: #94b5dc; border-radius: 1px; transform: rotate(45deg); }
.interest-tags > span:nth-child(2) i { background: #b09ad4; }
.interest-tags > span:nth-child(3) i { background: #a8aacb; }
.content-section { margin-top: 56px; scroll-margin-top: 25px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { font-size: 30px; letter-spacing: -.025em; margin-top: 10px; line-height: 1.5; }
.section-heading > p:last-child:not(.eyebrow) { font-size: 12px; color: var(--muted); margin-top: 10px; max-width: 660px; }
.project-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 21px; }
.filters { display: flex; gap: 5px; }
.filter { border: 1px solid transparent; background: transparent; border-radius: 7px; padding: 7px 13px; color: var(--muted); font-size: 11px; line-height: 1.7; min-height: 34px; }
.filter:hover { color: var(--accent); background: var(--sky); }
.filter.is-active { background: var(--surface); color: var(--accent); border-color: var(--line); box-shadow: var(--shadow); }
.project-count { color: var(--muted); font: 10px/1.8 var(--mono); }
.projects-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
.project-card { overflow: hidden; display: flex; flex-direction: column; position: relative; }
.project-card::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: linear-gradient(90deg,#b0c9e8,#cfbbde); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.project-card:hover::after, .project-card:focus-within::after { transform: scaleX(1); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cbd5e9; }
.project-cover { display: block; overflow: hidden; position: relative; aspect-ratio: 1000 / 620; background: var(--sky); border-bottom: 1px solid var(--line); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.3,1); }
.project-card:hover .project-cover img { transform: scale(1.025); }
.project-cover .cover-arrow { position: absolute; bottom: 13px; right: 13px; width: 30px; height: 30px; display: grid; place-items: center; background: rgb(255 255 255 / 88%); color: #657b9e; border: 1px solid rgb(255 255 255 / 70%); border-radius: 50%; font-size: 14px; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 23px 18px; }
.project-label { color: var(--muted); font: 9px/1.8 var(--mono); letter-spacing: .05em; }
.project-body h3 { font-size: 21px; letter-spacing: -.02em; margin-top: 9px; }
.project-summary { font-size: 13px; line-height: 1.9; margin-top: 9px; max-width: 95%; }
.stack-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 17px; }
.stack-tag { font: 9px/1.7 var(--mono); padding: 4px 7px; border-radius: 4px; background: var(--surface-soft); color: var(--muted); border: 1px solid var(--line); }
.project-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; }
.project-status { color: var(--muted); font-size: 9px; }
.project-links { display: flex; gap: 12px; }
.project-links a { display: inline-flex; gap: 4px; align-items: center; color: var(--accent); font-size: 10px; }
.project-links a svg { width: 14px; height: 14px; }
.more-projects { margin-top: 28px; }
.more-projects > h3 { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.compact-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compact-project { padding: 17px; display: flex; gap: 13px; align-items: flex-start; }
.compact-project:hover { border-color: #cbd5e9; transform: translateY(-2px); }
.compact-project-icon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--sky); color: var(--accent); flex-shrink: 0; }
.compact-project:nth-child(2) .compact-project-icon { background: var(--lilac); color: var(--purple); }
.compact-project-icon svg { width: 17px; height: 17px; }
.compact-project h4 { font-size: 12px; }
.compact-project p { color: var(--muted); font-size: 10px; margin-top: 6px; line-height: 1.8; }
.compact-project .compact-arrow { margin-left: auto; font-size: 13px; color: var(--muted); }
.github-more { margin-top: 21px; font-size: 11px; }
.research-workspace-heading { margin-bottom: 18px; }
.research-workspace-heading h3 { font-size: 17px; }
.research-workspace-heading p { font-size: 11px; color: var(--muted); margin-top: 6px; }
.research-workspace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.research-workspace-card { padding: 25px; min-width: 0; }
.research-workspace-card:first-child { grid-column: 1 / -1; background: linear-gradient(120deg,var(--surface),var(--lilac)); }
.research-workspace-top { display: flex; justify-content: space-between; gap: 13px; align-items: center; flex-wrap: wrap; }
.research-workspace-card h4 { margin-top: 14px; font-size: 19px; }
.research-workspace-card > p { font-size: 12px; margin-top: 11px; line-height: 1.95; }
.research-workspace-card > .text-link { margin-top: 20px; font-size: 11px; }
.research-reading { padding: 20px 3px 26px; }
.research-reading > p { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.95; }
.secondary-email { font-size: 10px; color: var(--muted); margin: 3px 0 9px; }
.secondary-email a { font-family: var(--mono); }
.intro-signature { padding-top: 18px; margin-top: 20px !important; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; }
.intro-signature > span { color: var(--purple); font: 8px/1.7 var(--mono); letter-spacing: .12em; }
.intro-signature q { font: italic 13px/1.8 Georgia,serif; color: var(--body); quotes: none; }
.poetry-card { display: grid; grid-template-columns: 200px minmax(0,1fr); overflow: hidden; margin: 38px 0 0; box-shadow: none; }
.poetry-photo { position: relative; min-height: 180px; overflow: hidden; }
.poetry-photo img { height: 100%; width: 100%; object-fit: cover; filter: saturate(.8); }
.poetry-photo-credit { position: absolute; inset: auto 0 0; padding: 5px 8px; color: #fff; background: rgb(29 26 39 / 78%); font: 7px/1.7 var(--sans); }
.poetry-photo-credit:hover { color: white; background: rgb(29 26 39 / 90%); }
.poetry-card figcaption { padding: 23px 25px 21px; align-self: center; min-width: 0; }
.poetry-card .eyebrow { font-size: 8px; color: var(--purple); letter-spacing: .1em; }
.poetry-verse { margin: 12px 0 9px; white-space: pre-line; font: italic 18px/1.55 Georgia,serif; color: var(--ink); }
.poetry-byline { font: 9px/1.8 var(--sans); color: var(--muted); }
.poetry-byline > span { padding-inline: 4px; opacity: .7; }
.poetry-reflection { color: var(--muted); font-size: 10px; margin-top: 8px; line-height: 1.8; }
.poetry-card + .content-section { margin-top: 35px; }
@media (max-width:580px) { .research-workspace-grid { grid-template-columns: 1fr; } .research-workspace-card { padding: 22px; } .research-workspace-card h4 { font-size: 18px; } .poetry-card { grid-template-columns: 1fr; margin-top: 30px; } .poetry-photo { height: 116px; min-height: 0; } .poetry-card figcaption { padding: 21px; } .poetry-verse { font-size: 18px; } .intro-signature { gap: 5px; flex-direction: column; } .intro-signature q { font-size: 12px; } }
.research-card { overflow: hidden; }
.research-visual { height: 190px; overflow: hidden; background: var(--lilac); border-bottom: 1px solid var(--line); }
.research-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.research-body { padding: 30px 32px 24px; }
.research-body > .eyebrow { color: var(--purple); font-size: 9px; }
.research-body h3 { font-size: 23px; margin-top: 9px; }
.research-body > p:not(.eyebrow):not(.scope-note) { font-size: 13px; line-height: 2; margin-top: 14px; }
.research-stats { display: grid; grid-template-columns: 1fr 1fr 1.65fr; margin-block: 25px; padding-block: 20px; border-block: 1px solid var(--line); }
.research-stats > div { padding-left: 21px; }
.research-stats > div:first-child { padding-left: 0; }
.research-stats > div + div { border-left: 1px solid var(--line); }
.research-stats strong { display: block; color: var(--ink); font: 31px/1.3 Georgia,serif; }
.research-stats strong.evidence-label { font: 15px/2.68 var(--mono); color: var(--purple); }
.research-stats span { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; }
.contribution { display: flex; gap: 20px; align-items: flex-start; }
.contribution > span { font-size: 11px; color: var(--purple); min-width: 65px; margin-top: 3px; }
.contribution p { font-size: 12px; line-height: 1.95; }
.research-actions { display: flex; gap: 24px; align-items: center; margin-top: 24px; }
.scope-note { display: flex; gap: 7px; font-size: 10px; color: var(--muted); margin-top: 19px; align-items: flex-start; }
.scope-note svg { width: 13px; height: 13px; margin-top: 3px; }
.research-methods { margin-top: 18px; padding: 27px 30px; }
.research-methods > h3 { font-size: 15px; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 27px; margin-top: 20px; }
.method-number { font: 11px var(--mono); color: var(--purple); }
.method-grid h4 { font-size: 12px; margin-top: 10px; }
.method-grid p { font-size: 11px; color: var(--muted); line-height: 1.9; margin-top: 8px; }
.research-ongoing { display: flex; gap: 20px; padding-top: 20px; margin-top: 25px; border-top: 1px solid var(--line); }
.research-ongoing > span { flex-shrink: 0; color: var(--purple); font: 9px/2 var(--mono); }
.research-ongoing p { font-size: 11px; line-height: 1.9; }
.notes-list { display: grid; gap: 13px; }
.note-card { display: flex; gap: 23px; align-items: center; padding: 25px 27px; }
.note-card:hover { border-color: #cbd5e9; transform: translateX(3px); }
.note-number { width: 35px; flex-shrink: 0; color: #7b88a6; font: italic 30px/1 Georgia,serif; }
.note-content { min-width: 0; }
.note-meta { display: flex; gap: 14px; align-items: center; font: 8px/1.8 var(--mono); color: var(--muted); letter-spacing: .08em; flex-wrap: wrap; }
.note-meta > span + span { letter-spacing: 0; }
.note-card h3 { font-size: 18px; margin-top: 7px; }
.note-card p { font-size: 11px; color: var(--muted); margin-top: 7px; line-height: 1.8; }
.note-arrow { margin-left: auto; color: var(--accent); font-size: 21px; flex-shrink: 0; }
.about-card { padding: 30px 32px; }
.about-card > p { font-size: 13px; line-height: 2.1; }
.about-card > p + p { margin-top: 12px; }
.education { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 16px; border-block: 1px solid var(--line); margin-top: 27px; padding-block: 26px; }
.education-icon { width: 38px; height: 38px; color: var(--accent); background: var(--sky); border-radius: 10px; display: grid; place-items: center; }
.education-icon svg { width: 20px; height: 20px; }
.education-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.education-top h3 { font-size: 15px; }
.education-top > span { color: var(--muted); font: 10px/1.8 var(--mono); }
.education-major { font-size: 11px; margin-top: 6px; color: var(--accent); }
.education-description { font-size: 11px; line-height: 1.95; color: var(--muted); margin-top: 10px; }
.coursework { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 23px; padding-block: 23px; border-bottom: 1px solid var(--line); }
.course-item { display: flex; gap: 10px; }
.course-item > span { color: var(--purple); font: 10px/2.2 var(--mono); }
.course-item h4 { font-size: 12px; }
.course-item p { font-size: 10px; line-height: 1.85; color: var(--muted); margin-top: 4px; }
.toolkit-heading { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-top: 23px; }
.toolkit-heading h3 { font-size: 14px; }
.toolkit-heading p { color: var(--muted); font-size: 10px; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 23px; margin-top: 23px; }
.skill-grid > div > span { font-size: 10px; color: var(--muted); }
.skill-grid p { font-size: 11px; margin-top: 5px; line-height: 1.9; }
.contact-panel { padding: 40px 37px 33px; border-radius: var(--radius); position: relative; overflow: hidden; isolation: isolate; border: 1px solid #dfe5f2; background: linear-gradient(115deg,#edf3fd 0%,#f1eefa 100%); }
:root[data-theme="dark"] .contact-panel { border-color: var(--line); background: linear-gradient(115deg,#253149,#2b2741); }
.contact-decoration { position: absolute; right: 30px; top: 18px; font: 120px/1 Georgia,serif; color: #d1d9ed; transform: rotate(-15deg); z-index: -1; }
:root[data-theme="dark"] .contact-decoration { color: #3f4567; }
.contact-panel h2 { margin-top: 16px; font: 500 30px/1.65 var(--serif); letter-spacing: -.01em; }
.contact-description { font-size: 12px; max-width: 560px; margin-top: 15px; line-height: 2; }
.contact-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 23px; }
.email-row { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.email-row > a { font: 12px/1.7 var(--mono); color: var(--body); }
.email-row > a:hover { color: var(--accent); }
.email-row .icon-button { width: 29px; height: 29px; padding: 5px; }
.email-row svg { width: 14px; height: 14px; }
.contact-note { font-size: 10px; color: var(--muted); margin-top: 5px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); margin-top: 70px; padding-block: 27px 35px; font-size: 10px; color: var(--muted); }
.footer-left { display: flex; align-items: center; gap: 20px; }
.footer-left .brand { font-size: 23px; }
.footer-right { display: flex; align-items: center; gap: 23px; }
.footer-status { display: flex; align-items: center; gap: 7px; }
.footer-status i { display: block; width: 4px; height: 4px; background: #9aabd0; border-radius: 50%; }
.back-top { position: fixed; left: 20px; bottom: 23px; z-index: 25; width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 15px); opacity: 0; visibility: hidden; background: var(--ink); color: var(--surface); font-size: 12px; max-width: min(90vw,440px); padding: 11px 18px; border-radius: 9px; box-shadow: var(--shadow-hover); z-index: 90; transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.toast.is-visible { transform: translate(-50%,0); opacity: 1; visibility: visible; }
.noscript-links { padding: 25px; display: grid; gap: 10px; }
.noscript-links a { color: var(--accent); }
.noscript-message { padding: 30px 10px; font-size: 13px; }
/* A little sakura, a little warmth. Effects remain optional and never catch the cursor. */
.sakura-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 38; }
.footer-motion { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; font: inherit; color: var(--muted); }
.footer-motion > span:first-child { color: #bf8ea9; font-size: 13px; }
.footer-motion:hover { color: var(--purple); }
.scene-overlay { position: fixed; inset: 0; overflow: hidden; z-index: 1000; background: radial-gradient(ellipse at 50% 40%,#fff0f6 0%,#fff9f8 48%,#f5f2fb 100%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .42s ease, visibility .42s; isolation: isolate; }
.scene-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.scene-glow { position: absolute; left: 50%; top: 45%; width: min(90vw,850px); aspect-ratio: 1; transform: translate(-50%,-50%); background: radial-gradient(ellipse,#f6d4e5 0%,rgb(246 212 229 / 25%) 42%,transparent 68%); filter: blur(13px); }
.scene-tree { position: absolute; inset: 0; transform: scale(1.055); opacity: 0; clip-path: circle(0% at 65% 57%); transition: opacity .45s ease, transform 1.8s cubic-bezier(.16,.7,.25,1), clip-path .9s cubic-bezier(.16,.7,.25,1); }
.scene-tree img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 52%; }
.scene-tree::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgb(255 247 252 / 96%) 0%,rgb(255 247 252 / 38%) 18%,transparent 45%),linear-gradient(90deg,rgb(255 249 253 / 17%),transparent 40%); }
.scene-overlay.is-visible .scene-tree { opacity: 1; transform: scale(1); clip-path: circle(110% at 65% 57%); }
.scene-copy { position: absolute; bottom: 9%; width: 100%; text-align: center; padding: 0 20px; color: #735970; transform: translateY(10px); opacity: 0; transition: opacity .5s .2s, transform .7s .15s; }
.scene-copy p { font: 17px/1.8 var(--serif); letter-spacing: .09em; }
.scene-copy > span { display: block; font: 8px/1.8 var(--mono); color: #a085a1; letter-spacing: .16em; margin-top: 10px; }
.scene-overlay.is-visible .scene-copy { opacity: 1; transform: translateY(0); }
.scene-petals { position: absolute; inset: 0; pointer-events: none; }
.scene-petals i { position: absolute; left: var(--x); top: -30px; width: var(--size); height: calc(var(--size) * 1.25); background: linear-gradient(130deg,#f9d4e4,#e6a4c3); border-radius: 75% 20% 70% 25% / 80% 20% 80% 20%; opacity: 0; }
.scene-overlay.is-visible .scene-petals i { animation: scene-petal-fall var(--duration) var(--delay) linear infinite; }
@keyframes scene-petal-fall { 0% { transform: translate3d(0,-50px,0) rotate(0); opacity: 0; } 12% { opacity: .7; } 85% { opacity: .6; } 100% { transform: translate3d(var(--drift),calc(100vh + 70px),0) rotate(var(--turn)); opacity: 0; } }
:root[data-theme="dark"] .scene-overlay { background: radial-gradient(ellipse at 50% 40%,#3b2b40 0%,#242031 55%,#1c1e2d 100%); }
:root[data-theme="dark"] .scene-glow { opacity: .25; }
:root[data-theme="dark"] .scene-tree { filter: brightness(.63) saturate(.8); }
:root[data-theme="dark"] .scene-tree::after { background: linear-gradient(0deg,#262031, rgb(38 32 49 / 35%) 23%,transparent 55%); }
:root[data-theme="dark"] .scene-copy { color: #dfbfd6; }
:root[data-theme="dark"] .scene-copy > span { color: #bca4bf; }
html[lang="en"] .scene-copy p { font: italic 20px/1.7 Georgia,serif; letter-spacing: .015em; }
@media (max-width: 580px) { .scene-tree img { object-position: 72% center; } .scene-copy { bottom: 13%; } .scene-copy p { font-size: 14px; } .scene-copy > span { font-size: 6px; letter-spacing: .1em; } }
/* A quiet, single-track piano player. Never hides the reading or navigation controls. */
.music-player { position: fixed; left: 18px; bottom: 19px; z-index: 45; display: flex; align-items: center; gap: 1px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 5px 24px rgb(88 75 109 / 8%); padding: 5px 6px 5px 5px; }
.music-toggle { border: 0; background: none; display: inline-flex; align-items: center; gap: 9px; padding: 0 4px 0 0; color: var(--body); border-radius: 24px; }
.music-disc { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #fff8ff; font: 17px/1 Georgia,serif; background: repeating-radial-gradient(circle,#9489b3 0px,#9489b3 2px,#a69ac2 3px,#a69ac2 4px); box-shadow: inset 0 0 0 5px rgb(255 255 255 / 10%); }
.music-copy { text-align: left; min-width: 69px; }
.music-copy strong { display: block; font-size: 10px; line-height: 1.5; font-weight: 500; }
.music-copy small { display: block; color: var(--muted); font-size: 8px; line-height: 1.8; }
.music-equalizer { display: inline-flex; align-items: center; gap: 2px; height: 19px; margin-left: 3px; }
.music-equalizer i { width: 2px; height: 4px; border-radius: 2px; background: #b5a2c9; transform-origin: center bottom; }
.music-equalizer i:nth-child(2) { height: 10px; }
.music-equalizer i:nth-child(3) { height: 7px; }
.music-equalizer i:nth-child(4) { height: 12px; }
.music-player.is-playing .music-equalizer i { animation: piano-bars 1s ease-in-out infinite alternate; }
.music-player.is-playing .music-equalizer i:nth-child(2) { animation-delay: -.35s; }
.music-player.is-playing .music-equalizer i:nth-child(3) { animation-delay: -.7s; }
.music-player.is-playing .music-equalizer i:nth-child(4) { animation-delay: -.15s; }
@keyframes piano-bars { from { transform: scaleY(.35); } to { transform: scaleY(1.15); } }
.music-volume-toggle { width: 27px; height: 29px; display: grid; place-items: center; padding: 5px; color: var(--muted); background: none; border: 0; border-radius: 50%; }
.music-volume-toggle svg { width: 14px; height: 14px; }
.music-volume-toggle:hover { color: var(--purple); background: var(--lilac); }
.music-volume { position: absolute; left: 0; bottom: calc(100% + 9px); width: 205px; padding: 15px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-hover); }
.music-volume label { display: block; font-size: 11px; color: var(--body); }
.music-volume input { width: 100%; accent-color: #9a86b9; height: 20px; margin: 9px 0; cursor: pointer; }
.music-volume a { display: block; color: var(--muted); font-size: 8px; line-height: 1.8; }
.music-volume a:hover { color: var(--accent); }
html[data-has-music="true"] .back-top { bottom: 78px; }
@media (max-width: 580px) { .music-player { left: 12px; bottom: 13px; } .music-copy { min-width: 63px; } .music-copy strong { font-size: 9px; } .music-copy small { font-size: 7px; } .music-disc { width: 30px; height: 30px; } .music-equalizer { display: none; } .music-toggle { gap: 7px; } html[data-has-music="true"] .back-top { bottom: 68px; } }
/* Shared project / writing pages. */
.document-shell { max-width: 960px; padding-top: 43px; }
.breadcrumb { display: inline-flex; gap: 9px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 27px; }
.document-header { padding: 39px 42px 33px; }
.document-header h1 { font-size: clamp(28px,4vw,41px); letter-spacing: -.035em; margin-top: 15px; }
.document-lede { font-size: 15px; line-height: 1.95; max-width: 750px; margin-top: 17px; }
.document-meta { display: flex; gap: 19px; margin-top: 23px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.document-cover { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin-top: 24px; background: var(--sky); }
.document-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.document-grid { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 27px; margin-top: 27px; }
.document-article { padding: 30px 35px; }
.prose section + section { margin-top: 33px; padding-top: 27px; border-top: 1px solid var(--line); }
.prose h2 { font-size: 20px; margin-bottom: 14px; }
.prose p { font-size: 14px; line-height: 2.05; }
.prose p + p { margin-top: 15px; }
.prose ul { list-style: none; padding-left: 0; }
.prose li { position: relative; padding-left: 19px; font-size: 13px; line-height: 2; }
.prose li::before { content: ""; position: absolute; left: 1px; top: .9em; width: 4px; height: 4px; background: var(--purple); border-radius: 1px; }
.prose li + li { margin-top: 12px; }
.document-side { align-self: start; position: sticky; top: 100px; padding: 23px 20px; }
.document-side h2 { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.document-side p { font-size: 11px; line-height: 1.9; }
.document-side .side-section + .side-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.document-side .button { width: 100%; padding-inline: 10px; font-size: 11px; margin-top: 9px; }
.document-side .stack-tags { margin-top: 0; }
.document-boundary { font-size: 12px !important; color: var(--muted); }
.document-bottom { margin-top: 25px; padding: 20px 25px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 12px; }
.note-article { max-width: 800px; margin: 25px auto 0; padding: 42px 45px; }
.note-article .prose section + section { margin-top: 35px; }
.note-article .prose h2 { font-size: 23px; }
.not-found { text-align: center; padding: 80px 25px; }
.not-found > span { font: 65px/1.3 Georgia,serif; color: var(--purple); }
.not-found h1 { font-size: 28px; margin-top: 17px; }
.not-found p { margin-block: 15px 25px; }
/* A real searchable index, not a list of empty blog categories. */
.archive-shell { max-width: 960px; padding-top: 36px; }
.archive-heading { margin: 8px 0 29px; }
.archive-heading h1 { font: 500 34px/1.6 var(--serif); color: var(--ink); margin-top: 11px; letter-spacing: -.025em; }
.archive-heading > p:last-child { color: var(--muted); font-size: 13px; margin-top: 9px; }
.archive-search { display: flex; align-items: center; gap: 15px; padding: 13px 19px; margin-bottom: 22px; }
.archive-search > span { color: var(--purple); }
.archive-search input { width: 100%; color: var(--ink); background: none; border: 0; border-radius: 5px; font-size: 13px; line-height: 2; padding: 3px 0; min-width: 0; }
.archive-search input::placeholder { color: var(--muted); opacity: .85; }
.archive-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--sky); }
.archive-search input:focus-visible { outline: none; }
.archive-results { display: grid; gap: 14px; }
.archive-entry { display: flex; align-items: flex-start; gap: 22px; padding: 25px 29px; }
.archive-entry:hover { border-color: #c9c4dc; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.archive-entry-number { font: italic 26px/1.4 Georgia,serif; color: var(--purple); min-width: 32px; margin-top: 5px; }
.archive-entry-body { min-width: 0; }
.archive-entry-meta { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; color: var(--muted); font: 8px/1.8 var(--mono); letter-spacing: .04em; }
.archive-entry-meta > span:first-child { color: var(--purple); padding: 2px 7px; background: var(--lilac); border-radius: 4px; }
.archive-entry h2 { font-size: 21px; margin-top: 8px; }
.archive-entry p { font-size: 12px; margin-top: 9px; line-height: 1.9; color: var(--body); }
.archive-entry .stack-tags { margin-top: 12px; }
.archive-entry-arrow { color: var(--accent); margin-left: auto; font-size: 20px; }
.archive-empty { text-align: center; padding: 50px 25px; }
.archive-empty > span { font: 50px/1.4 Georgia,serif; color: var(--purple); }
.archive-empty h2 { font-size: 22px; margin-top: 13px; }
.archive-empty p { font-size: 13px; margin-top: 10px; }
.archive-empty .button { margin-top: 23px; }
.archive-home-link { display: flex; justify-content: flex-end; margin-top: 20px; }
html[lang="en"] .archive-heading h1 { font: 400 41px/1.25 Georgia,serif; letter-spacing: -.035em; }
.note-reading-layout { display: grid; grid-template-columns: 185px minmax(0,1fr); align-items: start; gap: 22px; margin-top: 24px; }
.note-reading-layout .note-article { margin: 0; padding: 30px 32px; }
.note-toc { padding: 22px 18px; position: sticky; top: 98px; }
.note-toc h2 { color: var(--muted); font: 10px/1.8 var(--mono); letter-spacing: .08em; }
.note-toc nav { display: grid; gap: 14px; margin-top: 17px; }
.note-toc a { display: flex; align-items: baseline; gap: 9px; font-size: 11px; line-height: 1.9; }
.note-toc a > span { color: var(--purple); font: 9px/1.8 var(--mono); flex-shrink: 0; }
.note-toc a:hover { color: var(--accent); }
@media (max-width: 860px) { .note-reading-layout { grid-template-columns: 1fr; gap: 17px; } .note-toc { position: static; } .note-toc nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; } }
@media (max-width: 580px) { .archive-shell { padding-top: 25px; } .archive-heading h1 { font-size: 27px; line-height: 1.6; } .archive-heading > p:last-child { font-size: 12px; } .archive-search { padding: 11px 15px; gap: 10px; } .archive-search input { font-size: 11px; } .archive-entry { gap: 13px; padding: 22px 18px; } .archive-entry-number { min-width: 23px; font-size: 22px; } .archive-entry h2 { font-size: 18px; } .archive-entry p { font-size: 11px; } .archive-entry-meta { font-size: 7px; gap: 6px 9px; } .archive-entry-arrow { font-size: 16px; } .archive-entry .stack-tag { font-size: 8px; } html[lang="en"] .archive-heading h1 { font-size: 32px; } .note-toc { padding: 20px; } .note-toc nav { grid-template-columns: 1fr; gap: 9px; margin-top: 10px; } .note-reading-layout .note-article { padding: 27px 24px; } }
/* Résumé: compact, bilingual, and clean when printed. */
.resume-shell { max-width: 900px; padding-top: 29px; }
.resume-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.resume-toolbar .breadcrumb { margin: 0; }
.resume-actions,.resume-downloads { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.resume-actions { justify-content: flex-end; }
.resume-downloads .button { font-size: 11px; min-height: 38px; padding: 7px 12px; }
.resume-coursework { margin-top: 9px; }
.resume-sheet { padding: 44px 48px; }
.resume-heading { border-bottom: 2px solid var(--accent); padding-bottom: 23px; }
.resume-heading h1 { font-size: 32px; letter-spacing: -.025em; }
.resume-role { color: var(--accent); font-size: 13px; margin-top: 7px; }
.resume-contact { display: flex; gap: 6px 19px; flex-wrap: wrap; color: var(--muted); font: 10px/1.9 var(--mono); margin-top: 13px; }
.resume-section { margin-top: 24px; }
.resume-section > h2 { font-size: 15px; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 7px; margin-bottom: 11px; }
.resume-section p, .resume-section li { font-size: 11px; line-height: 1.95; }
.resume-section h3 { font-size: 12px; }
.resume-row { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; }
.resume-row > span, .resume-project-link { color: var(--muted); font-size: 9px; }
.resume-project-link { display: inline-block; color: var(--accent); margin-top: 4px; overflow-wrap: anywhere; }
.resume-project + .resume-project { margin-top: 14px; }
.resume-project .resume-stack { font: 9px/1.7 var(--mono); color: var(--muted); margin-block: 3px; }
.resume-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.resume-footnote { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 12px; font-size: 9px; color: var(--muted); }
/* Mascot: same personal-blog spirit, without a third-party runtime or tracking. */
.mascot { --susu-width: 144px; --susu-height: 156px; position: fixed; bottom: 14px; right: 14px; width: var(--susu-width); z-index: 40; }
@media (min-width:861px) { .mascot { --susu-width: 166px; --susu-height: calc(166px * 13 / 12); } }
.mascot-stage { position: relative; display: block; width: var(--susu-width); height: var(--susu-height); padding: 0; border: 0; background-color: transparent; background-repeat: no-repeat; background-size: calc(var(--susu-width) * 8) calc(var(--susu-height) * 11); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 6px 8px rgb(90 73 111 / 10%)); transition: none; }
.mascot-blend { position: absolute; inset: 0; background-size: calc(var(--susu-width) * 8) calc(var(--susu-height) * 11); background-repeat: no-repeat; opacity: 0; pointer-events: none; }
.mascot.is-dragging { z-index: 60; }
.mascot.is-dragging .mascot-stage { cursor: grabbing; filter: drop-shadow(0 10px 12px rgb(90 73 111 / 19%)); }
html[data-effects="on"] .mascot[data-motion="idle"]:not(.is-dragging) .mascot-stage { animation: susu-breathe 5.4s ease-in-out infinite; }
@keyframes susu-breathe { 0%,100% { transform: translateY(0) rotate(-.25deg); } 50% { transform: translateY(-2px) rotate(.25deg); } }
.mascot-bubble.is-below::after { top: -5px; bottom: auto; transform: rotate(225deg); }
.mascot-stage:hover { filter: drop-shadow(0 6px 10px rgb(90 73 111 / 17%)); }
.mascot-stage.is-loading { background-image: url("../images/susu-idle.webp"); background-size: var(--susu-width) var(--susu-height); }
.mascot-controls { display: flex; gap: 4px; justify-content: center; align-items: center; margin-top: -4px; }
.mascot-controls button { font-size: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--muted); padding: 1px 8px; min-height: 24px; }
.mascot-controls button:hover { color: var(--accent); background: var(--sky); }
.mascot-controls .mascot-minimize { padding: 1px 7px; }
.mascot-bubble { position: absolute; bottom: 178px; right: 5px; width: 245px; padding: 16px; border: 1px solid #e0ddec; border-radius: 18px 18px 5px 18px; background: var(--surface); box-shadow: 0 8px 32px rgb(72 58 102 / 12%); overflow-y: auto; scrollbar-width: thin; }
.mascot-bubble.is-chatting { border-color: #dac9e3; }
.mascot-bubble.is-commenting { border-color: var(--purple); }
.mascot-bubble.is-commenting .mascot-message { font-size: 13px; line-height: 1.9; color: var(--ink); }
.mascot-bubble.is-commenting .mascot-choices { display: none; }
.mascot-peek { position: fixed; z-index: 41; width: min(245px,calc(100vw - 24px)); padding: 12px 15px; border: 1px solid var(--purple); border-radius: 15px 15px 5px 15px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-hover); font-size: 12px; line-height: 1.9; pointer-events: none; }
.mascot-bubble.is-beside::after { right: -5px; bottom: auto; top: var(--tail-y, 60px); transform: rotate(-45deg); }
.mascot-bubble.is-chatting .mascot-message { font: 500 14px/1.8 var(--sans); color: var(--ink); padding: 10px 12px; border-radius: 12px 12px 3px 12px; background: linear-gradient(125deg,var(--lilac),var(--sky)); }
.mascot-bubble.is-chatting .mascot-choices { display: none; }
:root[data-theme="dark"] .mascot-bubble { border-color: var(--line); }
.mascot-bubble::after { content: ""; position: absolute; right: 31px; bottom: -5px; width: 8px; height: 8px; background: var(--surface); border-right: 1px solid #e0ddec; border-bottom: 1px solid #e0ddec; transform: rotate(45deg); }
:root[data-theme="dark"] .mascot-bubble::after { border-color: var(--line); }
.mascot-bubble-title { font-size: 10px; color: var(--purple); display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.mascot-bubble-title button { padding: 0 4px; color: var(--muted); background: none; border: none; font-size: 15px; line-height: 1; }
.mascot-message { font-size: 11px; line-height: 1.9; }
.mascot-choices { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 11px; }
.mascot-choices a { font-size: 9px; color: var(--accent); background: var(--sky); border-radius: 5px; padding: 4px 7px; }
.susu-mode-switch { display: flex; gap: 5px; padding: 4px; margin: 10px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.susu-mode-switch button { flex: 1; min-height: 32px; padding: 5px 8px; background: none; border: 0; border-radius: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.susu-mode-switch button[aria-pressed="true"] { background: var(--surface); color: var(--purple); box-shadow: 0 1px 5px rgb(72 58 102 / 8%); }
.susu-mode-switch button:hover { color: var(--accent); }
.susu-chat-toggle { display: block; width: 100%; text-align: left; margin-top: 10px; border: 0; border-top: 1px solid var(--line); padding: 9px 0 0; background: none; color: var(--purple); font-size: 10px; line-height: 1.8; }
.susu-chat-toggle:hover { color: var(--accent); }
.susu-chat-form { margin-top: 10px; }
.susu-chat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 6px 5px; }
.susu-chat-toolbar button { padding: 3px 5px; border: 0; background: none; color: var(--muted); font-size: 9px; border-radius: 5px; }
.susu-chat-toolbar button:hover { background: var(--sky); color: var(--accent); }
.susu-chat-log { margin: 5px 0 0; padding: 3px 2px; list-style: none; max-height: min(190px,27dvh); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.susu-chat-line { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 9px; }
.susu-chat-speaker { color: var(--muted); font-size: 8px; line-height: 1.4; padding-inline: 4px; }
.susu-chat-line p { max-width: 94%; padding: 8px 10px; font-size: 12px; line-height: 1.75; border: 1px solid var(--line); border-radius: 11px 11px 11px 3px; background: var(--surface-soft); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.susu-chat-line.is-user { align-items: flex-end; }
.susu-chat-line.is-user p { border-radius: 11px 11px 3px 11px; background: var(--sky); border-color: transparent; }
.susu-chat-line.is-error p { color: var(--body); border-style: dashed; }
.susu-chat-line.is-pending p { color: var(--purple); }
.susu-chat-status { font-size: 9px; color: var(--muted); line-height: 1.8; margin-top: 7px; min-height: 17px; }
.susu-chat-status.is-error { color: var(--purple); }
.susu-chat-retry { margin-top: 4px; border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; font-size: 10px; background: var(--lilac); color: var(--purple); }
.susu-chat-retry:disabled { opacity: .55; }
@media (max-width:580px) { .mascot-bubble .susu-chat-input-row input { font-size: 16px; padding: 5px 8px; } .susu-chat-log { max-height: min(165px,24dvh); } }
.susu-chat-input-row { display: flex; gap: 6px; align-items: center; }
.susu-chat-input-row input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); color: var(--ink); padding: 6px 8px; font-size: 11px; line-height: 1.8; }
.susu-chat-input-row input::placeholder { color: var(--muted); }
.susu-chat-input-row button { flex-shrink: 0; color: var(--accent); background: var(--sky); border: 1px solid transparent; border-radius: 6px; padding: 6px 9px; min-height: 34px; font-size: 10px; }
.susu-chat-input-row button:disabled { opacity: .55; }
.susu-chat-privacy { color: var(--muted); font-size: 8px; margin-top: 8px; line-height: 1.75; }
.susu-chat-badge { display: inline-block; color: var(--purple); font: 7px/1.8 var(--mono); margin-top: 4px; }
.mascot-launch { position: fixed; right: 17px; bottom: 19px; display: flex; align-items: center; gap: 5px; padding: 5px 9px 5px 5px; min-height: 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow-hover); z-index: 40; font-size: 10px; color: var(--purple); }
.mascot-launch img { width: 31px; height: 34px; object-fit: contain; }
/* Latin typography gets breathing room without changing the composition. */
html[lang="en"] .hero h1 { font-family: Georgia,serif; font-size: clamp(40px,4.5vw,66px); font-weight: 400; line-height: 1.16; letter-spacing: -.045em; margin-top: 25px; }
html[lang="en"] .hero-description { max-width: 485px; }
html[lang="en"] .profile-name { font: 500 24px/1.5 Georgia,serif; letter-spacing: -.02em; }
html[lang="en"] .profile-role { font-size: 9px; line-height: 1.9; }
html[lang="en"] .profile-info { font-size: 10px; }
html[lang="en"] .profile-info .muted { font-size: 9px; }
html[lang="en"] .profile-stats span { font-size: 9px; }
html[lang="en"] .hero-eyebrow { letter-spacing: .14em; }
html[lang="en"] .intro h2 { font-family: Georgia,serif; font-weight: 400; font-size: 29px; }
html[lang="en"] .section-heading h2 { font-family: Georgia,serif; font-weight: 400; font-size: 35px; line-height: 1.25; letter-spacing: -.035em; }
html[lang="en"] .research-body h3 { font-size: 23px; }
html[lang="en"] .contact-panel h2 { font: 400 35px/1.25 Georgia,serif; letter-spacing: -.025em; }
html[lang="en"] .note-card h3 { font-size: 19px; }
html[lang="en"] .research-ongoing { flex-direction: column; gap: 5px; }
html[lang="en"] .document-header h1 { font-family: Georgia,serif; font-weight: 400; }
/* Desktop has its own editorial composition, not enlarged phone-sized tiles. */
@media (min-width: 861px) {
  .page-layout { gap: 36px; }
  .intro { padding: 32px 38px; }
  .intro > p:not(.intro-signature) { max-width: 760px; font-size: 15px; line-height: 2; }
  .intro h2 { font-size: 28px; margin-block: 18px 18px; }
  .intro-signature { padding-top: 20px; margin-top: 24px !important; }
  .intro-signature q { font-size: 15px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 13px; }
  .poetry-card { grid-template-columns: minmax(0,.46fr) minmax(0,.54fr); margin-top: 48px; min-height: 256px; border-radius: 18px; }
  .poetry-photo { min-width: 0; min-height: 256px; }
  .poetry-photo img { position: absolute; inset: 0; object-fit: cover; filter: saturate(.94); }
  .poetry-card figcaption { padding: 28px 32px; }
  .poetry-card .eyebrow { font-size: 9px; }
  .poetry-verse { font-size: clamp(20px,1.6vw,24px); line-height: 1.65; margin-block: 17px; white-space: pre-line; }
  .poetry-byline { font-size: 11px; line-height: 1.9; }
  .poetry-photo-credit { font-size: 8px; padding: 7px 10px; }
  .poetry-card:nth-of-type(even) { grid-template-columns: minmax(0,.54fr) minmax(0,.46fr); }
  .poetry-card:nth-of-type(even) .poetry-photo { order: 2; }
  .poetry-card + .content-section { margin-top: 42px; }
  .note-card { padding: 28px 30px; }
  .note-card p { font-size: 13px; }
}
@media (min-width: 1000px) {
  .projects-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-card { display: grid; grid-template-columns: minmax(0,.44fr) minmax(0,.56fr); }
  .project-card .project-cover { height: 100%; min-height: 250px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .project-card:nth-child(even) { grid-template-columns: minmax(0,.56fr) minmax(0,.44fr); }
  .project-card:nth-child(even) .project-cover { order: 2; border-right: 0; border-left: 1px solid var(--line); }
  .project-body { padding: 28px 30px 23px; }
  .project-body h3 { font-size: 25px; }
  .project-label { font-size: 9px; }
  .project-summary { font-size: 14px; max-width: 100%; }
  .project-bottom { margin-top: 23px; }
  .stack-tag { font-size: 10px; }
  .project-status { font-size: 10px; }
  .project-links a { font-size: 11px; }
}
@media (min-width: 1200px) {
  .research-workspace-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .research-workspace-card:first-child { grid-column: auto; }
  .research-workspace-card { padding: 24px 23px; }
  .research-workspace-top { align-items: flex-start; flex-direction: column; gap: 7px; }
  .research-workspace-card h4 { font-size: 18px; line-height: 1.6; }
}
@media (min-width: 861px) and (max-height: 1050px) { .sidebar-note { display: none; } }
@media (min-width: 861px) and (max-height: 790px) { .sidebar { position: relative; top: 0; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .brand-suffix { display: none; }
  .header-inner { gap: 25px; }
  .header-links { gap: 23px; }
  .page-layout { grid-template-columns: 220px minmax(0,1fr); gap: 25px; }
  .profile-card { padding-inline: 17px; }
  .intro, .research-body, .about-card { padding-inline: 26px; }
  .intro-top .status-pill { font-size: 8px; }
  .project-body { padding-inline: 18px; }
  .project-summary { max-width: 100%; }
  .project-bottom { align-items: flex-start; }
  .project-status { max-width: 110px; }
  .project-links { gap: 8px; }
  .project-label { font-size: 7px; }
  .project-body h3 { font-size: 19px; }
  .method-grid { gap: 20px; }
  .compact-projects { grid-template-columns: 1fr; }
  .hero-coordinate { right: 32px; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 48px); }
  .site-header { height: 66px; }
  .header-inner { gap: 20px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .brand-suffix { display: inline; font-size: 8px; }
  .nav-toggle { display: inline-flex; }
  .header-links { position: absolute; top: 65px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 24px 21px; gap: 4px; display: grid; grid-template-columns: repeat(3,1fr); box-shadow: var(--shadow-hover); margin: 0; }
  .header-links a { padding: 10px 15px; text-align: center; border-radius: 7px; }
  .header-links a:hover { background: var(--sky); }
  .header-links a::after { bottom: 3px; }
  .hero { min-height: 414px; }
  .hero-inner { padding-block: 48px 68px; }
  .hero-landscape { background-position: 55% center; }
  .hero h1 { font-size: 46px; }
  .hero-description { max-width: 460px; }
  .hero-coordinate { display: none; }
  .page-layout { grid-template-columns: minmax(0,1fr); gap: 23px; margin-top: -20px; }
  .sidebar { position: static; }
  .profile-card { padding: 24px; display: grid; grid-template-columns: 78px minmax(0,1fr) auto; column-gap: 20px; text-align: left; align-items: center; }
  .avatar-wrap { width: 78px; height: 78px; grid-row: 1/5; grid-column: 1; margin: 0; }
  .avatar { border-width: 4px; }
  .avatar-spark { width: 23px; height: 23px; font-size: 12px; right: -3px; }
  .profile-kicker, .profile-divider, .profile-info, .profile-stats, .sidebar-nav, .sidebar-note { display: none; }
  .profile-name { grid-column: 2; font-size: 23px; margin-top: 0; }
  .profile-alias { grid-column: 2; font-size: 11px; }
  .profile-role { grid-column: 2; margin-top: 5px; font-size: 10px; }
  .button-resume { grid-column: 3; grid-row: 1/3; width: auto; padding-inline: 12px; font-size: 10px; }
  .profile-social { grid-column: 3; grid-row: 3/5; gap: 14px; margin-top: 7px; }
  .profile-social svg { width: 15px; height: 15px; }
  .intro { padding: 29px; }
  .intro > p { font-size: 13px; }
  .content-section { margin-top: 49px; }
  .compact-projects { grid-template-columns: 1fr 1fr; }
  .section-heading h2 { font-size: 29px; }
  .project-label { font-size: 8px; }
  .method-grid { gap: 24px; }
  .site-footer { margin-top: 48px; }
  .document-grid { grid-template-columns: minmax(0,1fr) 200px; gap: 20px; }
  .document-header { padding: 32px; }
  .document-article { padding: 26px; }
  .mascot { right: 5px; }
  html[lang="en"] .hero h1 { font-size: 56px; }
  html[lang="en"] .profile-name { font-size: 23px; }
  html[lang="en"] .profile-role { font-size: 9px; }
}
@media (max-width: 580px) {
  .container { width: calc(100% - 36px); }
  .brand { font-size: 29px; }
  .brand-suffix { font-size: 7px; margin-left: 11px; letter-spacing: .1em; }
  .header-inner { gap: 5px; }
  .header-tools { gap: 4px; }
  .language-switch { padding: 2px; }
  .language-switch button { font-size: 10px; padding-inline: 6px; }
  .header-tools .icon-button { width: 32px; height: 34px; }
  .hero { min-height: 395px; }
  .hero-inner { padding-block: 43px 61px; }
  .hero-eyebrow { font-size: 8px; gap: 8px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(28px,8.5vw,39px); margin-top: 19px; line-height: 1.6; letter-spacing: -.01em; }
  .hero-description { font-size: 12px; margin-top: 15px; line-height: 1.95; max-width: 350px; }
  .hero-landscape { background-size: auto 118%; background-position: 48% center; }
  .hero::after { background: linear-gradient(90deg,rgb(255 249 252 / 86%),rgb(250 245 254 / 51%)),linear-gradient(0deg,var(--bg),transparent 35%); }
  .hero-actions { gap: 19px; margin-top: 23px; }
  .hero-actions .button { font-size: 11px; padding: 10px 15px; }
  .hero-actions .text-link { font-size: 11px; }
  .profile-card { padding: 19px; grid-template-columns: 65px minmax(0,1fr); column-gap: 17px; }
  .avatar-wrap { width: 65px; height: 65px; grid-row: 1/4; }
  .profile-name { font-size: 21px; }
  .profile-alias { font-size: 10px; }
  .profile-role { font-size: 8px; line-height: 1.8; }
  .button-resume { grid-column: 1/3; grid-row: auto; margin-top: 16px; min-height: 37px; }
  .profile-social { display: none; }
  .intro { padding: 24px 22px; }
  .intro-top { gap: 8px; }
  .intro-top .eyebrow { font-size: 8px; }
  .intro-top .status-pill { font-size: 8px; }
  .intro h2 { font-size: 22px; margin-block: 15px 12px; }
  .intro > p { font-size: 12px; line-height: 2.05; }
  .interest-tags { column-gap: 13px; row-gap: 7px; margin-top: 18px; }
  .interest-tags > span { font-size: 8px; }
  .content-section { margin-top: 43px; }
  .eyebrow { font-size: 9px; }
  .section-heading h2 { font-size: 26px; margin-top: 10px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 11px; }
  .section-heading { margin-bottom: 19px; }
  .filter { font-size: 10px; padding: 6px 10px; }
  .filters { gap: 3px; }
  .project-count { font-size: 9px; }
  .project-toolbar { margin-bottom: 16px; }
  .projects-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .project-body { padding: 22px; }
  .project-body h3 { font-size: 22px; }
  .project-label { font-size: 8px; }
  .project-summary { font-size: 12px; }
  .project-status { max-width: unset; }
  .project-links { gap: 13px; }
  .compact-projects { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .compact-project { padding: 18px; }
  .compact-project h4 { font-size: 13px; }
  .compact-project p { font-size: 11px; }
  .research-visual { height: 144px; }
  .research-body { padding: 24px 22px 20px; }
  .research-body .eyebrow { font-size: 8px; }
  .research-body h3 { font-size: 21px; }
  .research-body > p:not(.eyebrow):not(.scope-note) { font-size: 12px; }
  .research-stats { grid-template-columns: 1fr 1fr; gap: 17px 0; padding-block: 18px; }
  .research-stats > div { padding-left: 18px; }
  .research-stats > div:last-child { grid-column: 1/-1; border: 0; padding-left: 0; display: flex; align-items: center; gap: 12px; }
  .research-stats strong { font-size: 28px; }
  .research-stats strong.evidence-label { font-size: 12px; line-height: 1.8; }
  .research-stats > div:last-child span { margin-top: 0; }
  .contribution { flex-direction: column; gap: 7px; }
  .contribution p { font-size: 11px; }
  .research-actions { gap: 19px; margin-top: 21px; }
  .scope-note { font-size: 9px; }
  .research-methods { padding: 24px 22px; }
  .method-grid { grid-template-columns: 1fr; gap: 22px; }
  .method-grid > div { display: grid; grid-template-columns: 24px 1fr; column-gap: 7px; }
  .method-number { grid-row: 1/3; line-height: 1.9; }
  .method-grid h4 { margin-top: 0; font-size: 12px; }
  .method-grid p { margin-top: 4px; }
  .research-ongoing { flex-direction: column; gap: 6px; }
  .note-card { padding: 22px 19px; gap: 15px; }
  .note-number { width: 23px; font-size: 24px; }
  .note-meta { font-size: 7px; gap: 7px; }
  .note-card h3 { font-size: 16px; }
  .note-card p { font-size: 10px; }
  .note-arrow { font-size: 17px; }
  .about-card { padding: 24px 22px; }
  .about-card > p { font-size: 12px; }
  .education { grid-template-columns: 30px minmax(0,1fr); gap: 12px; }
  .education-icon { width: 30px; height: 30px; border-radius: 8px; }
  .education-icon svg { width: 16px; height: 16px; }
  .education-top h3 { font-size: 14px; }
  .education-top > span { font-size: 9px; }
  .coursework { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-panel { padding: 29px 24px; }
  .contact-panel h2 { font-size: 25px; }
  .contact-description { font-size: 11px; }
  .contact-actions { gap: 8px; }
  .contact-actions .button { font-size: 10px; padding-inline: 14px; }
  .contact-actions .button svg { width: 15px; height: 15px; }
  .contact-decoration { right: 10px; top: 15px; font-size: 95px; }
  .site-footer { padding-bottom: 75px; align-items: flex-start; gap: 12px; margin-top: 43px; }
  .footer-left { gap: 13px; font-size: 9px; flex-wrap: wrap; }
  .footer-left .brand { font-size: 22px; }
  .footer-right { font-size: 9px; gap: 20px; }
  .document-shell { padding-top: 26px; }
  .document-header { padding: 27px 23px; }
  .document-header h1 { font-size: 29px; }
  .document-lede { font-size: 13px; }
  .document-meta { font-size: 10px; gap: 10px; }
  .document-cover { margin-top: 18px; }
  .document-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .document-article { padding: 25px 23px; }
  .prose h2 { font-size: 19px; }
  .prose p { font-size: 13px; }
  .prose li { font-size: 12px; }
  .document-side { position: static; }
  .document-bottom { flex-direction: column; align-items: flex-start; }
  .note-article { padding: 28px 24px; margin-top: 18px; }
  .note-article .prose h2 { font-size: 21px; }
  .resume-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .resume-actions { width: 100%; justify-content: flex-start; }
  .resume-actions [data-print-resume] { min-height: 38px; }
  .resume-toolbar .button { font-size: 10px; padding-inline: 12px; }
  .resume-toolbar .breadcrumb { font-size: 11px; margin-top: 10px; }
  .resume-sheet { padding: 28px 23px; }
  .resume-heading h1 { font-size: 26px; }
  .resume-role { font-size: 11px; }
  .resume-contact { font-size: 9px; }
  .resume-skills { grid-template-columns: 1fr; }
  .resume-row { flex-wrap: wrap; gap: 4px; }
  .mascot { bottom: 10px; right: 6px; transform: none; }
  .mascot-launch { font-size: 9px; bottom: 14px; right: 13px; }
  .back-top { left: 13px; bottom: 16px; width: 32px; height: 32px; }
  html[lang="en"] .hero h1 { font-size: clamp(32px,10.3vw,47px); margin-top: 24px; line-height: 1.18; }
  html[lang="en"] .hero-description { font-size: 12px; max-width: 335px; margin-top: 20px; }
  html[lang="en"] .intro h2 { font-size: 26px; }
  html[lang="en"] .section-heading h2 { font-size: 31px; }
  html[lang="en"] .research-body h3 { font-size: 20px; }
  html[lang="en"] .note-card h3 { font-size: 17px; }
  html[lang="en"] .contact-panel h2 { font-size: 29px; }
  html[lang="en"] .profile-name { font-size: 22px; }
  html[lang="en"] .profile-role { font-size: 8px; }
  html[lang="en"] .intro-top .status-pill { font-size: 7px; }
}
@media (max-width: 360px) { .brand-suffix { display: none; } .intro-top .status-pill { display: none; } .filter { padding-inline: 8px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project-card:hover, .compact-project:hover, .note-card:hover, .button:hover { transform: none; }
}
@media print {
  @page { size: A4; margin: 12mm 14mm; }
  :root, :root[data-theme="dark"] { --bg: #fff; --surface: #fff; --surface-soft: #fff; --ink: #202839; --body: #354050; --muted: #5f6979; --line: #dce0e8; --accent: #476c9d; --purple: #72598e; color-scheme: light; }
  body { background: #fff; }
  .site-header, .site-footer, #mascot-root, .back-top, .toast, .skip-link, .resume-toolbar, .sakura-canvas, .scene-overlay, .music-player { display: none !important; }
  .container, .resume-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
  .resume-sheet { padding: 0; border: 0; box-shadow: none; }
  .resume-heading { padding-bottom: 11px; }
  .resume-heading h1 { font-size: 28px; }
  .resume-role { font-size: 10px; margin-top: 3px; }
  .resume-contact { font-size: 9px; margin-top: 7px; }
  .reading-progress { display: none; }
  .resume-section { margin-top: 13px; }
  .resume-section > h2 { font-size: 14px; padding-bottom: 4px; margin-bottom: 6px; }
  .resume-section h3 { font-size: 11px; }
  .resume-section p, .resume-section li { font-size: 10.5px; line-height: 1.65; }
  .resume-project + .resume-project { margin-top: 8px; }
  .resume-project .resume-stack { font-size: 7px; margin-block: 1px; }
  .resume-project-link { font-size: 8px; margin-top: 1px; }
  .resume-row > span { font-size: 8px; }
  .resume-footnote { font-size: 7px; margin-top: 12px; padding-top: 7px; }
  .resume-skills { grid-template-columns: 1fr 1fr; }
  .resume-project, .resume-section > h2, .resume-heading { break-inside: avoid; }
  .resume-section > h2 { break-after: avoid; }
  .document-shell { width: 100%; max-width: none; padding: 0; }
  .document-header, .document-article, .note-article { border: 0; box-shadow: none; padding: 10px 0; }
  .document-grid { grid-template-columns: 1fr; }
  .document-side, .document-cover, .breadcrumb, .document-bottom, .note-toc { display: none; }
  .note-reading-layout { display: block; }
  .note-reading-layout .note-article { border: 0; padding: 10px 0; }
}
