:root {
  --paper: #f6f7f1;
  --white: #fcfcf8;
  --ink: #20382b;
  --muted: #4d6254;
  --soft: #687c6c;
  --line: #d6e1d2;
  --green: #819b7a;
  --sage: #e7eee1;
  --accent: #5d805f;
  --ambient-flow: 0px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2,.72,.25,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { position: relative; isolation: isolate; margin: 0; background: transparent; color: var(--ink); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; z-index: -2; inset: -8vh -8vw; pointer-events: none; background: radial-gradient(ellipse at 88% calc(15% + var(--ambient-flow)), rgb(220 236 207 / 54%), transparent 40%), radial-gradient(ellipse at 12% calc(76% - var(--ambient-flow)), rgb(224 237 216 / 48%), transparent 42%), linear-gradient(145deg, #f8faf4 0%, #f1f6eb 48%, #f7f8f2 100%); transition: background-position .7s ease-out; }
button, a { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.ambient { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.ambient-a { width: 500px; height: 500px; right: -220px; top: 8%; background: radial-gradient(circle, #e9efe3, transparent 68%); }
.ambient-b { width: 420px; height: 420px; left: -220px; bottom: -90px; background: radial-gradient(circle, #edf0e8, transparent 70%); }
.site-shell { max-width: 1320px; padding: 0 56px; margin: auto; }
.site-header { height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgb(246 247 241 / 92%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.brand img { width: 28px; height: 28px; }
.tabs { height: 44px; display: flex; gap: 3px; position: relative; align-items: center; padding: 3px; border: 1px solid #d6e1d2; border-radius: 999px; background: rgb(232 240 228 / 82%); }
.tab { min-height: 36px; display: flex; align-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 15px; cursor: pointer; padding: 0 10px; text-decoration: none; transition: color .2s, background .2s, transform .2s, box-shadow .2s; }
.tab:hover { background: #dce9d5; color: var(--ink); transform: translateY(-1px); }
.tab.is-active { background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgb(38 62 48 / 12%); }
.tab.is-active:hover { background: #496d50; color: #fff; }
.tab-indicator { display: none; }
.tab-panel { min-height: 0; scroll-margin-top: 104px; }
.tab-panel:not(#panel-about) { border-top: 1px solid var(--line); padding: 56px 0 46px; }
.home-hero { min-height: min(820px, calc(100vh - 82px)); display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(50px, 8vw, 112px); align-items: center; padding: 56px 2% 68px; }
.portrait-wrap { position: relative; width: min(100%, 370px); margin: auto; }
.portrait { position: relative; display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; border: 1px solid #dfe7dc; border-radius: 47% 53% 44% 56% / 49% 45% 55% 51%; box-shadow: 0 24px 60px rgb(48 69 52 / 9%); }
.intro-content { max-width: 700px; padding: 18px 0; }
.eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--accent); margin: 0 0 16px; }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #789675; box-shadow: 0 0 0 5px #e4ebe0; margin: 0 10px 1px 0; }
.intro-content h1 { font-size: clamp(36px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.26; font-weight: 650; margin: 0 0 24px; }
.intro-content h1 span { color: #789476; }
.intro-copy { font-size: 16px; line-height: 1.95; color: #405649; }
.intro-copy p { margin: 0 0 14px; text-wrap: pretty; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 20px; border-top: 1px solid var(--line); }
.info-item { min-height: 50px; display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); }
.info-item > span { font-size: 13px; color: var(--soft); }
.info-item > b, .info-item > a { font-size: 15px; font-weight: 600; text-decoration: none; }
.info-item a { color: #456a4d; }
.info-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-contact { grid-column: 1 / -1; grid-template-columns: 92px max-content auto max-content; justify-content: start; gap: 12px; }
.copy-email { border: 1px solid #cbd9c8; background: #fbfcf8; border-radius: 999px; padding: 3px 10px; font-size: 12px; line-height: 1.45; color: #506b54; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.copy-email:hover { background: var(--sage); }
.copy-email.is-copied { color: #fff; background: var(--accent); border-color: var(--accent); }
.copy-status { min-width: 0; color: var(--accent); font-size: 13px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: 32px; font-weight: 650; letter-spacing: -.035em; line-height: 1.3; margin: 0; }
.page-heading > p { font-size: 16px; color: var(--muted); margin: 0 0 3px; max-width: 520px; text-align: right; text-wrap: pretty; }
.page-heading .eyebrow { margin-bottom: 6px; }
.skill-experience { position: relative; }
.skill-index-hint { display: none; }
.skill-index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; padding: 8px 0 0; }
.skill-nav-item { position: relative; min-width: 0; min-height: 72px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid transparent; border-bottom-color: var(--line); background: transparent; padding: 13px 42px 13px 14px; text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.skill-nav-item:hover { background: rgb(255 255 255 / 64%); border-color: #d7e2d3; transform: translateY(-2px); }
.skill-nav-item.is-active { position: relative; background: #d5e4cd; border-color: #98b592; box-shadow: 0 8px 20px rgb(38 62 48 / 9%); }
.skill-nav-item::after { content: "+"; position: absolute; top: 50%; right: 12px; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; background: var(--accent); color: #fff; font-size: 17px; font-weight: 700; line-height: 1; transform: translateY(-50%); box-shadow: 0 3px 8px rgb(38 62 48 / 14%); transition: background .2s, color .2s, border-color .2s; }
.skill-nav-item.is-active::before { content: ""; position: absolute; left: 14px; bottom: 8px; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); }
.skill-nav-item.is-active::after { content: "−"; background: #e7eee1; color: #294b35; border-color: #a9c1a4; box-shadow: none; }
.skill-index { flex: 0 0 auto; font-size: 13px; color: #70866f; font-variant-numeric: tabular-nums; }
.skill-title { font-size: 15px; line-height: 1.5; font-weight: 650; color: var(--muted); text-wrap: balance; }
.skill-nav-item.is-active .skill-title { color: var(--ink); }
.skill-detail { scroll-margin-top: 184px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 18px; padding: 24px 22px 28px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .35s, border-color .35s; }
.skill-detail[hidden] { display: none; }
.skill-details-list.is-ready .skill-detail.is-active { opacity: 1; transform: translateY(0); }
.skill-detail:last-child { border-bottom: 1px solid var(--line); }
.skill-detail.is-active { background: #eaf2e5; border-top-color: #a9c1a4; }
.skill-detail-heading { display: flex; align-items: baseline; gap: 16px; }
.skill-detail-heading .skill-index { color: #789476; }
.skill-detail-heading h2 { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
.skill-detail-copy { min-width: 0; width: 100%; max-width: none; }
.keep-together { white-space: nowrap; }
.skill-detail-copy p { margin: 0 0 10px; color: #405649; font-size: 15px; line-height: 1.8; text-wrap: pretty; }
.skill-detail-copy p:last-child { margin-bottom: 0; }
.skill-showcase { margin: 0 0 12px; padding: 6px 0 44px; border-top: 1px solid var(--line); }
.showcase-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0 34px; }
.showcase-heading h2 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; }
.showcase-swipe-hint { display: inline-flex; align-items: center; gap: 6px; color: #638267; font-size: 12px; font-weight: 550; white-space: nowrap; }
.showcase-swipe-hint > span { font-size: 17px; line-height: 1; }
.skills-carousel { position: relative; }
.skills-carousel::before, .skills-carousel::after { content: ""; position: absolute; z-index: 3; top: 38px; bottom: 0; width: 38px; pointer-events: none; }
.skills-carousel::before { left: 0; background: linear-gradient(90deg, rgb(246 247 241 / 94%), transparent); }
.skills-carousel::after { right: 0; background: linear-gradient(270deg, rgb(246 247 241 / 94%), transparent); }
.skills-viewport { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; width: 100%; margin-top: -34px; padding: 58px 2px 0; outline-offset: 5px; touch-action: pan-x pan-y; }
.skills-viewport::-webkit-scrollbar { display: none; }
.skills-track { display: flex; width: max-content; animation: skills-marquee 36s linear infinite; will-change: transform; }
.skill-group { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 5px 12px 5px 0; }
.skill-pill-wrap { position: relative; display: flex; flex: 0 0 auto; }
.skill-pill { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d4e0d0; border-radius: 999px; background: rgb(255 255 255 / 46%); color: var(--ink); padding: 7px 14px 7px 9px; white-space: nowrap; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s, color .25s; }
.skill-pill:hover { background: #fbfcf8; border-color: #aec5a9; transform: translateY(-2px); }
.skill-pill[aria-expanded="true"] { background: #e7eee1; border-color: #91ad8b; box-shadow: 0 5px 15px rgb(38 62 48 / 7%); color: #294b35; }
.skill-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #edf2e9; color: #668766; }
.skill-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.skill-pill-name { font-size: 14px; font-weight: 650; }
.skill-pill-level { margin-left: 1px; color: var(--muted); font-size: 12px; }
.skills-carousel.has-active-tooltip .skills-track, .skills-carousel.is-manual-scroll .skills-track { animation-play-state: paused; }
@keyframes skills-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.skill-tooltip { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); width: min(300px, calc(100vw - 48px)); border: 1px solid #d4e0d0; border-radius: 12px; background: #fffefa; padding: 10px 14px; color: #405649; box-shadow: 0 8px 22px rgb(38 62 48 / 10%); font-size: 13px; line-height: 1.55; white-space: normal; visibility: hidden; opacity: 0; transform: translate(-50%, 5px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; pointer-events: none; }
.skill-tooltip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; border-right: 1px solid #d4e0d0; border-bottom: 1px solid #d4e0d0; background: #fffefa; transform: translateX(-50%) rotate(45deg); }
.skill-pill-wrap.is-active .skill-tooltip { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.skill-group-main .skill-pill-wrap:first-child .skill-tooltip { left: 0; transform: translateY(5px); }
.skill-group-main .skill-pill-wrap:first-child.is-active .skill-tooltip { transform: translateY(0); }
.skill-group-main .skill-pill-wrap:last-child .skill-tooltip { left: auto; right: 0; transform: translateY(5px); }
.skill-group-main .skill-pill-wrap:last-child.is-active .skill-tooltip { transform: translateY(0); }
.timeline { position: relative; padding: 20px 0 22px; }
.timeline::before { content: ""; position: absolute; left: 176px; top: 30px; bottom: 50px; width: 1px; background: linear-gradient(#9fbc9a, #dce5d8); }
.timeline-item { display: grid; grid-template-columns: 150px 1fr; gap: 56px; position: relative; padding: 18px 0 22px; }
.timeline-item::before { content: ""; position: absolute; left: 171px; top: 32px; width: 11px; height: 11px; border: 2px solid #819b7a; background: var(--paper); border-radius: 50%; z-index: 1; transition: background .25s, transform .25s; }
.timeline-item.is-current::before, .timeline-item.in-view::before { background: #819b7a; }
.timeline-date { font-size: 15px; color: #597c5d; padding-top: 6px; white-space: nowrap; }
.timeline-entry { min-width: 0; }
.job-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgb(255 255 255 / 32%); transition: background .25s, border-color .25s, box-shadow .25s; }
.job-card:hover { background: rgb(255 255 255 / 70%); border-color: #c5d7bf; box-shadow: 0 10px 28px rgb(38 62 48 / 5%); }
.job-card.is-expanded { background: #dce9d5; border-color: #9fba9b; box-shadow: 0 12px 30px rgb(38 62 48 / 9%); }
.job-toggle { width: 100%; position: relative; display: block; border: 0; border-radius: 0; background: transparent; text-align: left; padding: 20px 150px 22px 24px; cursor: pointer; transition: background .25s; }
.job-toggle:hover, .job-toggle:focus-visible { background: rgb(230 239 223 / 45%); }
.job-toggle-hint { position: absolute; top: 26px; right: 20px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #5f8062; border-radius: 999px; background: #5f8062; color: #fff; font-size: 13px; font-weight: 600; line-height: 1; transition: background .2s, border-color .2s, transform .2s; }
.job-toggle:hover .job-toggle-hint, .job-toggle:focus-visible .job-toggle-hint { background: #496d50; border-color: #496d50; transform: translateY(-1px); }
.job-toggle-hint > span + span, .job-toggle[aria-expanded="true"] .job-toggle-hint > span:first-child { display: none; }
.job-toggle[aria-expanded="true"] .job-toggle-hint > span + span { display: inline; }
.job-card-content { display: block; }
.job-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.job-heading b { font-size: 22px; letter-spacing: -.035em; }
.job-heading .job-employer { color: #718476; font-size: 14px; letter-spacing: .03em; }
.job-heading .job-role { color: var(--ink); font-size: 22px; font-weight: 700; }
.job-heading i { font-style: normal; border-radius: 999px; background: #e4eedc; padding: 4px 12px; color: #547450; font-size: 14px; font-weight: 500; }
.job-summary { display: block; margin-top: 11px; color: #405649; font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.job-summary-label { display: block; margin-bottom: 2px; color: #789476; font-size: 13px; }
.job-detail { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: #edf4e8; }
.job-detail[hidden] { display: none; }
.timeline-item.in-view .job-detail:not([hidden]) { animation: fade-up .55s var(--ease) .32s both; }
.job-detail-label { margin: 0 0 9px; color: #789476; font-size: 13px; }
.job-detail ul { padding: 0; margin: 0 0 18px; list-style: none; display: grid; gap: 10px; }
.job-detail li { position: relative; padding-left: 22px; font-size: 15.5px; color: #405649; line-height: 1.8; text-wrap: pretty; }
.job-detail li::before { content: ""; position: absolute; left: 2px; top: .76em; width: 7px; height: 7px; border-radius: 50%; background: #82a17e; }
.job-detail li strong { color: var(--ink); font-weight: 650; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags span { border: 1px solid #cdddc9; border-radius: 999px; padding: 5px 13px; color: #57745b; font-size: 14px; line-height: 1.4; }
.site-footer { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; }
.site-footer > span:first-child { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.has-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.has-js .reveal.in-view { opacity: 1; transform: translateY(0); }
.has-js .intro-content .reveal { transition-duration: .9s; }
button:focus-visible, a:focus-visible { outline: 2px solid #628466; outline-offset: 4px; border-radius: 4px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .site-shell { padding: 0 32px; }
  .home-hero { grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 44px; }
  .skill-detail { grid-template-columns: minmax(170px, .7fr) minmax(0, 1.3fr); gap: 24px; }
  .timeline::before { left: 143px; }
  .timeline-item { grid-template-columns: 120px 1fr; gap: 44px; }
  .timeline-item::before { left: 138px; }
  .job-detail { padding-right: 20px; padding-left: 20px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 78px; }
  body { font-size: 15px; }
  .site-header { position: fixed; inset: 0 0 auto; width: 100%; padding: 0 20px; box-shadow: 0 4px 18px rgb(38 62 48 / 5%); }
  main { padding-top: 68px; }
  .site-shell { padding: 0 20px; }
  .site-header { height: 68px; grid-template-columns: auto 1fr; gap: 8px; }
  .brand { font-size: 16px; gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .tabs { justify-self: end; gap: 2px; height: 38px; padding: 2px; }
  .tab { min-height: 32px; font-size: 12px; padding: 0 3px; white-space: nowrap; }
  .tab-panel { scroll-margin-top: 82px; }
  .tab-panel:not(#panel-about) { padding: 38px 0 30px; }
  .home-hero { min-height: 0; display: flex; flex-direction: column; gap: 22px; padding: 34px 0 34px; }
  .portrait-wrap { order: 0; width: min(70%, 270px); }
  .intro-content { order: 1; width: 100%; padding: 0; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .intro-content h1 { font-size: clamp(31px, 9vw, 38px); line-height: 1.28; margin-bottom: 18px; }
  .intro-copy { font-size: 15px; line-height: 1.9; }
  .intro-copy p { margin-bottom: 12px; }
  .info-grid { gap: 0 14px; margin-top: 15px; }
  .info-item { min-height: 46px; grid-template-columns: 70px 1fr; gap: 5px; }
  .info-item > span { font-size: 12px; }
  .info-item > b, .info-item > a { font-size: 14px; }
  .info-contact { grid-template-columns: 70px max-content auto; gap: 7px; }
  .copy-email { font-size: 11px; padding: 3px 8px; }
  .copy-status { grid-column: 2 / -1; font-size: 12px; line-height: 1.3; }
  .page-heading { display: block; padding-bottom: 18px; }
  .page-heading h1 { font-size: 29px; }
  .page-heading > p { margin: 8px 0 0; font-size: 14px; text-align: left; }
  .skill-index-hint { display: block; margin: 17px 0 -5px; color: #526c59; font-size: 13px; font-weight: 550; }
  .skill-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 14px; padding-top: 6px; }
  .skill-nav-item { min-height: 66px; align-items: center; gap: 8px; padding: 10px 34px 10px 10px; border: 1px solid #d5e1d1; border-radius: 12px; background: rgb(255 255 255 / 55%); }
  .skill-nav-item.is-active::before { left: 10px; bottom: 5px; width: 18px; }
  .skill-nav-item::after { right: 8px; width: 20px; height: 20px; }
  .skill-nav-item:hover { transform: none; }
  .skill-index { font-size: 11px; }
  .skill-title { font-size: 14px; line-height: 1.45; }
  .skill-detail { scroll-margin-top: 210px; display: block; padding: 18px 12px 21px; }
  .skill-detail-heading { gap: 11px; margin-bottom: 12px; }
  .skill-detail-heading h2 { font-size: 18px; }
  .skill-detail-copy p { font-size: 14.5px; line-height: 1.8; margin-bottom: 9px; }
  .skill-showcase { margin-bottom: 4px; padding: 2px 0 30px; }
  .showcase-heading { padding: 17px 0 38px; }
  .showcase-heading h2 { font-size: 16px; }
  .showcase-swipe-hint { font-size: 11px; }
  .skills-carousel::before, .skills-carousel::after { top: 38px; width: 28px; }
  .skills-viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-top: -38px; padding: 72px 2px 0; }
  .skills-viewport::-webkit-scrollbar { display: none; }
  .skills-track { width: max-content; animation: skills-marquee 30s linear infinite; }
  .skills-viewport:active .skills-track { animation-play-state: paused; }
  .skill-group { gap: 8px; padding-right: 0; }
  .skill-pill-wrap { flex: 0 0 auto; }
  .skill-group-copy { display: none; }
  .skill-pill { min-height: 44px; gap: 7px; padding: 6px 11px 6px 7px; }
  .skill-icon { width: 26px; height: 26px; }
  .skill-icon svg { width: 15px; height: 15px; }
  .skill-pill-name { font-size: 13px; }
  .skill-pill-level { font-size: 11px; }
  .skill-tooltip { width: min(280px, calc(100vw - 48px)); padding: 8px 12px; font-size: 12.5px; line-height: 1.5; }
  .timeline { padding: 12px 0 10px; }
  .timeline::before { left: 5px; top: 22px; bottom: 30px; }
  .timeline-item { display: block; padding: 18px 0 18px 24px; }
  .timeline-item::before { left: 0; top: 28px; }
  .timeline-date { font-size: 14px; padding: 0 0 8px; }
  .timeline-date small { display: inline; margin-left: 8px; font-size: 12px; }
  .timeline-entry { padding-bottom: 2px; }
  .job-toggle { padding: 17px 110px 18px 17px; }
  .job-toggle-hint { top: 15px; right: 14px; min-height: 29px; padding: 0 9px; font-size: 11px; }
  .job-heading { gap: 9px; }
  .job-heading b { font-size: 20px; }
  .job-heading .job-employer { font-size: 12px; }
  .job-heading .job-role { font-size: 20px; }
  .job-heading i { padding: 3px 9px; font-size: 12px; }
  .job-summary { font-size: 15px; line-height: 1.75; }
  .job-summary-label { font-size: 12px; }
  .job-detail { padding: 14px 14px 16px; }
  .job-detail ul { gap: 8px; margin-bottom: 14px; }
  .job-detail li { padding-left: 18px; font-size: 14.5px; line-height: 1.75; }
  .job-detail li::before { width: 6px; height: 6px; }
  .job-tags { gap: 7px; }
  .job-tags span { padding: 5px 11px; font-size: 13px; }
  .site-footer { min-height: 60px; flex-wrap: wrap; justify-content: space-between; font-size: 12px; }
  .site-footer > span:first-child { font-size: 15px; }
}
@media (max-width: 520px) {
  .info-item:nth-child(3), .info-item:nth-child(4) { grid-column: 1 / -1; grid-template-columns: 70px minmax(0, 1fr); }
  .skill-index-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .skill-nav-item { min-height: 54px; padding: 9px 38px 9px 12px; }
  .skill-title { white-space: nowrap; }
  .skills-viewport { padding-top: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .timeline-item .job-detail:not([hidden]) { animation: none !important; opacity: 1; transform: none; }
  .skills-track { width: max-content; animation: none !important; transform: none !important; flex-wrap: nowrap; }
  .skills-viewport { overflow-x: auto; overflow-y: hidden; margin-top: -34px; padding-top: 72px; touch-action: pan-x pan-y; }
  .skill-group { flex-wrap: nowrap; }
  .skill-group-copy { display: none; }
  body::before { transition: none; }
}
