@font-face{font-family:MiSans;src:url('assets/MiSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:MiSans;src:url('assets/MiSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:dark;--bg:#101110;--text:#f0f0e9;--muted:#989b94;--line:rgba(255,255,255,.13);--accent:#70aaff;--ease:cubic-bezier(.22,1,.36,1)}
[hidden]{display:none!important}
.resume-scene:focus{outline:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:MiSans,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit;background:none;border:0;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:5px}::selection{background:#527294;color:#fff}h1,h2,h3,h4,p{margin:0}strong{font-weight:700;color:var(--text)}.skip{position:fixed;top:10px;left:15px;z-index:100;background:#fff;color:#111;padding:12px;transform:translateY(-150%)}.skip:focus{transform:none}.shell{width:min(1160px,84vw);margin:auto}.micro{font-size:11px;letter-spacing:.1em;color:var(--muted)}
.opening{position:fixed;inset:0;background:#000;z-index:1000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;pointer-events:none;animation:opening-out .52s cubic-bezier(.4,0,1,1) 1.02s forwards;will-change:opacity}.opening-word{font-size:24px;letter-spacing:.42em;padding-left:.42em;color:#e8e9e6;animation:word-in .58s var(--ease) both}.opening-line{height:1px;width:32px;background:#868e95;animation:line-in .82s var(--ease) both}@keyframes opening-out{to{opacity:0;visibility:hidden}}@keyframes word-in{from{opacity:0;transform:translateY(5px);letter-spacing:.54em}to{opacity:1;transform:none;letter-spacing:.42em}}@keyframes line-in{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
.sequence{height:180svh}.stage{position:sticky;top:0;height:100svh;min-height:700px;isolation:isolate;overflow:hidden}.hero-scene,.resume-scene{position:absolute;inset:0}.hero-scene{background:#051426;overflow:hidden;transform-origin:50% 45%}#light-field{width:100%;height:100%;position:absolute;inset:0;background:radial-gradient(ellipse at 32% 20%,#176f69 0,#0b304a 40%,#051426 78%)}.hero-vignette{position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,8,14,.80),transparent 34%,transparent 70%,rgba(3,8,14,.42)),linear-gradient(90deg,rgba(3,8,14,.26),transparent 35%,transparent 72%,rgba(3,8,14,.16));pointer-events:none}.hero-index{position:absolute;left:5.5%;right:5.5%;top:112px;display:flex;justify-content:space-between;font-size:11px;color:#a7b4b7;letter-spacing:.13em}.hero-subject{position:absolute;left:61%;top:23%;font-size:15px;line-height:2;letter-spacing:.13em;color:#d0d9d7}.hero-identity{position:absolute;left:16%;top:50%;transform:translateY(-10%)}.hero-identity .micro{color:#c0ccca;letter-spacing:.18em}.hero-identity h1{font-size:clamp(40px,4.2vw,62px);font-weight:400;line-height:1.5;letter-spacing:.12em;margin:13px 0 10px;text-shadow:0 2px 22px rgba(0,0,0,.22)}.name-dot{color:#8fd7bd;margin-left:10px}.hero-school{font-size:12px;color:#acb9b7;letter-spacing:.08em}.hero-disciplines{position:absolute;right:10%;bottom:24%;display:flex;flex-direction:column;gap:18px}.hero-disciplines span{display:flex;align-items:center;gap:20px;color:#85989c;font-size:10px}.hero-disciplines b{font-weight:400;color:#e0e6e3;font-size:13px;letter-spacing:.14em}.hero-baseline{position:absolute;bottom:38px;left:5.5%;right:5.5%;border-top:1px solid #ffffff26;padding-top:18px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#aab7b6;letter-spacing:.08em}.hero-controls{display:flex;align-items:center;gap:22px}.palette-switcher{display:flex;align-items:center;gap:4px}.palette-switcher>span{margin-right:4px;color:#84928f}.palette-switcher button{width:30px;height:26px;border:1px solid transparent;border-radius:999px;font-size:9px;color:#95a3a1;transition:color .28s,border-color .28s,background .28s}.palette-switcher button:hover{color:#fff}.palette-switcher button[aria-pressed="true"]{color:#fff;border-color:rgba(255,255,255,.30);background:rgba(255,255,255,.12)}.enter-profile{display:flex;gap:20px;align-items:center;color:#eef3ef;font-size:12px;position:absolute;left:50%;transform:translateX(-50%)}.down-arrow{display:block;width:20px;height:26px;overflow:visible}.motion-control{padding:5px 0;font-size:10px;color:#aab7b6}.motion-control:hover{color:#fff}
.resume-scene{background:var(--bg);opacity:0;clip-path:inset(40% 15% round 20px);will-change:clip-path,opacity}.resume-first{height:100%;padding-top:120px;padding-bottom:32px;display:flex;flex-direction:column}.section-kicker{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.1em;color:#919792;border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:48px}.resume-grid{display:grid;grid-template-columns:280px 1fr;gap:100px}.identity-rail h2{font-size:36px;letter-spacing:.12em;font-weight:400;margin:18px 0 14px}.rail-role{font-size:13px;line-height:1.9;color:#b0b6b1}.identity-rail dl{margin:30px 0;display:grid;gap:12px;font-size:12px}.identity-rail dl div{display:flex;gap:22px}.identity-rail dt{color:#757e77}.identity-rail dd{margin:0;color:#cdd2cc}.text-action{font-size:12px;display:inline-flex;gap:26px;align-items:center;border-bottom:1px solid #58655d;padding-bottom:9px}.text-action span{color:var(--accent)}.text-action:hover{color:var(--accent)}.resume-lead h3{font-size:clamp(23px,2.3vw,33px);font-weight:400;line-height:1.5;letter-spacing:.02em;margin-bottom:26px}.summary{font-size:14px;line-height:1.95;color:#a5ada6;margin-bottom:13px;max-width:660px}.summary strong{font-weight:400;color:#e3e7df}.education-line{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.education-line>div{display:flex;align-items:center;gap:24px;margin:13px 0 8px;font-size:13px}.education-line strong{font-size:17px;font-weight:400}.education-line>p{font-size:11px;color:#9aa39b;line-height:1.9}.education-detail{margin-top:8px}.evidence-strip{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:35px;border-top:1px solid var(--line);padding-top:27px;margin-top:auto}.evidence-strip strong{font-size:32px;line-height:1;font-weight:400;letter-spacing:-.03em}.evidence-strip strong span{font-size:11px;color:#9ea79f;letter-spacing:0;margin-left:5px}.evidence-strip p{font-size:11px;color:#959e96;margin-top:13px}.evidence-strip>a{font-size:11px;display:flex;align-items:center;gap:20px;color:#c2c9c2}
 .resume-rest{padding:65px 0 90px;scroll-margin-top:100px}.section-rail{position:sticky;top:120px;align-self:start}.section-rail>p{font-size:19px;line-height:1.8;margin:25px 0 30px}.resume-section{margin-bottom:52px}.section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff35;padding-bottom:20px;margin-bottom:5px}.section-title h3{font-size:18px;font-weight:400}.section-title>span{font-size:10px;color:#89958c}.resume-entry{padding:24px 0;border-bottom:1px solid var(--line)}.entry-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.entry-head h4{font-size:15px;font-weight:700}.entry-head time{font-size:10px;color:#8f9a92;white-space:nowrap}.entry-role{font-size:12px;color:#adc0d0;margin:9px 0 12px}.resume-entry>p:last-child,.award-entry p{font-size:13px;line-height:1.95;color:#9fa9a1}.resume-entry strong,.award-entry strong{font-weight:400;color:#e7ebe5}.capability-list{counter-reset:capability}.capability-entry{display:grid;grid-template-columns:42px 175px 1fr;gap:18px;padding:24px 0;border-bottom:1px solid var(--line);align-items:start}.capability-entry>span{font-size:10px;color:#718078;padding-top:4px}.capability-entry>div{display:contents}.capability-entry h4{font-size:13px;font-weight:400;line-height:1.7;color:#dce1db}.capability-entry p{font-size:12px;line-height:1.9;color:#929e95}.capability-tools{padding-top:26px;padding-bottom:26px}.capability-tools .tool-groups{display:grid;gap:13px}.capability-tools .tool-groups p{display:grid;grid-template-columns:58px minmax(0,1fr);gap:22px;align-items:baseline;margin:0}.capability-tools .tool-groups b{font-size:11px;font-weight:400;color:#d0d7d0}.capability-tools .tool-groups span{font-size:11px;line-height:1.75;color:#929e95}.award-entry{display:grid;grid-template-columns:75px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.award-entry>span{font-size:10px;color:#829187;padding-top:5px}.award-entry h4{font-size:14px;font-weight:400;margin-bottom:7px;line-height:1.7}.resume-close{display:flex;justify-content:space-between;gap:25px;font-size:11px;color:#89968c;padding-top:8px}.footer-separator{height:clamp(112px,16svh,180px);position:relative;background:#090b0c;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}.footer-separator::after{content:'';position:absolute;left:5.5%;right:5.5%;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent)}.detail-main{padding:160px 0 80px;min-height:70vh}.detail-kicker{font-size:11px;color:#9aa59e;letter-spacing:.1em}.detail-main h1{font-size:40px;font-weight:400;margin:30px 0 22px}.detail-intro{max-width:640px;color:#a8b2aa;line-height:1.9}.detail-main .resume-section{margin-top:65px;max-width:800px}.contact-links{margin-top:65px;max-width:800px}.contact-links a{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:30px 0;font-size:clamp(18px,3vw,30px)}.contact-links a span{font-size:12px;color:var(--accent)}.detail-note{margin-top:40px;color:#7f8b82;font-size:12px;line-height:1.8}
.first-highlights{margin-top:28px}.first-highlights>div{display:grid;grid-template-columns:110px minmax(210px,1fr) minmax(210px,auto);gap:18px;padding:16px 0;border-top:1px solid var(--line);align-items:center;min-height:70px}.first-highlights span,.first-highlights small{color:#87978c;font-size:10px;line-height:1.6}.first-highlights strong{font-size:12px;font-weight:400;color:#d4dcd4;white-space:nowrap;line-height:1.6}.first-highlights small{text-align:right}
@media(min-width:801px) and (max-height:850px){.first-highlights{display:block}.stage{min-height:650px}.resume-first{padding-top:95px;padding-bottom:25px}.section-kicker{margin-bottom:30px;padding-bottom:16px}.resume-lead h3{font-size:27px;margin-bottom:18px}.summary{font-size:13px;line-height:1.8;margin-bottom:10px}.education-line{margin-top:18px;padding-top:17px}.evidence-strip{padding-top:19px}.evidence-strip strong{font-size:26px}.evidence-strip p{margin-top:9px}}
@media(max-width:1000px){.resume-grid{grid-template-columns:230px 1fr;gap:55px}.shell{width:88vw}.entry-head{align-items:flex-start;flex-direction:column;gap:7px}.hero-identity{left:10%}.hero-disciplines{right:7%}.evidence-strip{gap:20px}.evidence-strip>a{display:none}}
@media(max-width:800px){html{scroll-padding-top:80px}.stage{min-height:670px}.sequence{height:180svh;min-height:1180px}.shell{width:calc(100% - 40px)}.hero-index{top:92px;left:24px;right:24px;font-size:9px}.hero-subject{top:24%;left:auto;right:9%;font-size:12px}.hero-identity{left:8%;top:45%}.hero-identity h1{font-size:42px}.hero-identity .micro{font-size:10px}.hero-school{font-size:10px}.hero-disciplines{right:9%;bottom:23%;gap:13px}.hero-disciplines b{font-size:11px}.hero-baseline{bottom:28px;left:24px;right:24px}.hero-baseline>span{display:none}.enter-profile{left:auto;right:0;transform:none}.resume-first{padding-top:86px;padding-bottom:24px}.section-kicker{padding-bottom:16px;margin-bottom:25px;font-size:9px}.resume-grid{grid-template-columns:1fr;gap:25px}.identity-rail{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.identity-rail>.micro{grid-column:1/-1;font-size:9px}.identity-rail h2{font-size:28px;margin:10px 0;grid-column:1}.rail-role{font-size:11px;line-height:1.8;grid-column:2;grid-row:2;align-self:center}.identity-rail dl{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 18px;margin:8px 0 0;font-size:10px}.identity-rail dl div{gap:7px}.identity-rail .text-action{display:none}.resume-lead h3{font-size:22px;line-height:1.5;margin-bottom:15px}.resume-lead h3 br{display:none}.summary{font-size:12px;line-height:1.85;margin-bottom:9px}.education-line{margin-top:18px;padding-top:16px}.education-line>div{margin:9px 0 5px}.education-line strong{font-size:14px}.education-line>p{font-size:10px}.education-detail{display:none}.first-highlights>div{grid-template-columns:72px minmax(0,1fr);gap:7px 12px;min-height:0}.first-highlights strong{white-space:normal}.first-highlights small{grid-column:2;text-align:left}.resume-rest{padding:38px 0 65px}.section-rail{position:static;border-top:1px solid var(--line);padding-top:25px}.section-rail>p{font-size:18px;margin:17px 0}.section-rail>p br{display:none}.section-rail .text-action{font-size:11px;margin-bottom:12px}.resume-entry{padding:22px 0}.entry-head{flex-direction:row;gap:15px}.entry-head h4{font-size:13px;line-height:1.7;max-width:65%}.entry-head time{font-size:9px;padding-top:4px}.resume-entry>p:last-child,.award-entry p{font-size:12px;line-height:1.9}.capability-entry{grid-template-columns:30px 1fr;gap:12px;padding:21px 0}.capability-entry>div{display:block}.capability-entry h4{font-size:12px;margin-bottom:7px}.capability-entry p{font-size:11px}.tool-line{grid-template-columns:1fr;gap:8px}.tool-line p{font-size:10px}.award-entry{grid-template-columns:50px 1fr;gap:18px}.award-entry h4{font-size:13px}.resume-close{font-size:10px;line-height:1.8}.footer-separator{height:104px}.detail-main{padding-top:110px}.detail-main h1{font-size:32px}.detail-intro{font-size:13px}}
@media(max-width:800px){.first-highlights{display:none}}
@media(max-width:800px) and (min-height:800px){.first-highlights{display:block;margin-top:20px}.first-highlights>div{grid-template-columns:55px 1fr;gap:12px;padding:12px 0}.first-highlights strong{font-size:11px}.first-highlights span{font-size:9px}.first-highlights small{display:none}}
.footer-separator{height:clamp(440px,62svh,560px)}
@media(max-width:800px){.footer-separator{height:38svh;min-height:260px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.opening{display:none}.hero-scene,.resume-scene{will-change:auto}}

/* V2.2 content hierarchy refinements */
.rail-actions{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.rail-actions .text-action{min-width:168px;justify-content:space-between;gap:18px}
.education-line>.education-detail{display:grid;grid-template-columns:minmax(155px,.8fr) minmax(260px,1.7fr);gap:18px;margin:16px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);align-items:stretch}
.education-detail>div{display:grid;grid-template-columns:66px 1fr;align-items:center;gap:14px;margin:0;padding:0}
.education-detail span{font-size:9px;color:#758078;letter-spacing:.08em}
.education-detail .education-focus strong{font-size:18px;font-weight:400;color:#eef0e9;letter-spacing:.08em}
.education-detail .education-courses{border-left:1px solid var(--line);padding-left:22px}
.education-detail .education-courses p{font-size:10px;line-height:1.75;color:#9ba49c}
.tool-line{grid-template-columns:42px 175px 1fr;gap:18px;align-items:start}
.tool-line>.tool-index{font-size:10px;color:#718078;padding-top:5px}
.tool-title{font-size:13px;font-weight:400;line-height:1.7;color:#dce1db}
.tool-groups{display:grid;gap:9px}
.tool-line .tool-groups p{display:grid;grid-template-columns:42px 1fr;gap:15px;font-size:11px;line-height:1.75;color:#929e95}
.tool-line .tool-groups b{color:#d0d7d0}

@media(max-width:800px){
  .identity-rail .rail-actions{grid-column:1/-1;display:flex;flex-direction:row;gap:18px;margin-top:11px}
  .identity-rail .rail-actions .text-action{display:inline-flex;min-width:0;font-size:10px;gap:9px;padding-bottom:6px}
  .education-line>.education-detail{display:grid;grid-template-columns:112px 1fr;gap:10px;margin-top:11px;padding-top:10px}
  .education-detail>div{display:grid;grid-template-columns:1fr;gap:4px;margin:0}
  .education-detail .education-focus strong{font-size:14px}
  .education-detail .education-courses{padding-left:12px}
  .education-detail .education-courses p{font-size:9px;line-height:1.6}
  .tool-line{grid-template-columns:30px 1fr;gap:12px}
  .tool-line>.tool-index{grid-row:1 / span 2}
  .tool-title{grid-column:2;font-size:12px}
  .tool-groups{grid-column:2}
  .tool-line .tool-groups p{grid-template-columns:36px 1fr;font-size:10px;gap:10px}
}

@media(max-width:430px){
  .identity-rail .rail-actions{gap:12px;justify-content:space-between}
  .identity-rail .rail-actions .text-action{font-size:9px}
}

/* V2.3 alignment and content-system pass */
.education-detail .education-focus strong,
.education-detail .education-courses p{
  font-size:12px;
  line-height:1.75;
}
.education-detail>div{align-items:baseline}
.education-detail span{font-size:10px}
.education-detail .education-focus strong{font-weight:700}
.capability-entry{align-items:center}
.capability-entry>span{padding-top:0}
.tool-line{
  grid-template-columns:235px 1fr;
  align-items:center;
}
.award-entry{grid-template-columns:88px 1fr}
.award-entry>span{letter-spacing:.04em}

@media(max-width:800px){
  .education-detail .education-focus strong,
  .education-detail .education-courses p{font-size:11px}
  .tool-line{grid-template-columns:1fr;gap:12px;align-items:start}
  .tool-title,.tool-groups{grid-column:1}
  .award-entry{grid-template-columns:64px 1fr}
}

/* Homepage palette continuity into the profile scene. */
:root{--profile-glow-a:#102b45;--profile-glow-b:#5aa98d}
.resume-scene{isolation:isolate}
.resume-scene::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 72% 55% at 84% 4%,color-mix(in srgb,var(--profile-glow-b) 14%,transparent),transparent 70%),radial-gradient(ellipse 62% 68% at 8% 94%,color-mix(in srgb,var(--profile-glow-a) 18%,transparent),transparent 72%),linear-gradient(rgba(10,12,14,.82),rgba(12,14,15,.94));transition:background 1.2s var(--ease)}
html,body{overflow-x:clip}

/* Education sub-row: tertiary emphasis, centered between its rules. */
.education-line>.education-detail{min-height:56px;margin:16px 0 0;padding:0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);align-items:center}
.education-detail>div{align-items:center}
.education-detail .education-focus strong{font-size:12px;font-weight:400;line-height:1.6;letter-spacing:.06em}
.education-detail .education-courses{align-self:stretch;align-content:center}
.first-highlights{margin-top:0}
.first-highlights>div:first-child{border-top:0}

/* Keep supplementary tools on the same title column as capability rows. */
.tool-line{grid-template-columns:42px 175px 1fr;align-items:start}
.tool-title{grid-column:2}
.tool-groups{grid-column:3}

/* At the compact desktop width, center only the wrapped final line. */
@media(min-width:801px) and (max-width:1000px){
  .first-highlights>div:first-child strong{text-align-last:center}
}

@media(max-width:800px){
  .tool-line{grid-template-columns:30px 1fr;gap:12px}
  .tool-title,.tool-groups{grid-column:2}
}

/* Profile scene: deep blue-green paper instead of a flat black field. */
.resume-scene{
  --profile-bgA:#08161B;
  --profile-bgB:#10272C;
  --profile-bgC:#091B22;
  --profile-glowA:#3C8992;
  --profile-glowB:#20556F;
  --profile-glowC:#236169;
  --profile-text:#E8EDEB;
  --profile-muted:#9BAEAB;
  --profile-kicker:#7E9998;
  --profile-accent:#76B7C3;
  --text:var(--profile-text);
  --muted:var(--profile-muted);
  --line:color-mix(in srgb,var(--profile-muted) 20%,transparent);
  --accent:var(--profile-accent);
  background:var(--profile-bgA);
  color:var(--text);
  transition:background-color .9s var(--ease),color .9s var(--ease);
}
.resume-scene::before{
  inset:0;
  z-index:0;
  background-color:var(--profile-bgA);
  background-image:var(--profile-surface);
  background-attachment:fixed;
  background-blend-mode:normal,soft-light,normal,normal,normal;
}
.resume-scene::after{
  display:none;
}
.resume-scene .resume-first{position:relative;z-index:1}
@keyframes profile-ambient{
  from{background-position:0% 0%}
  to{background-position:6% 4%}
}
.resume-scene .section-kicker{color:var(--profile-kicker);border-color:var(--line)}
.resume-scene .identity-rail>.micro{color:var(--profile-kicker)}
.resume-scene .identity-rail h2,.resume-scene .resume-lead h3{color:var(--profile-text)}
.resume-scene .rail-role{color:color-mix(in srgb,var(--profile-text) 72%,transparent)}
.resume-scene .identity-rail dt{color:var(--profile-kicker)}
.resume-scene .identity-rail dd{color:color-mix(in srgb,var(--profile-text) 84%,transparent)}
.resume-scene .summary{color:var(--profile-muted)}
.resume-scene .summary strong{color:var(--profile-text)}
.resume-scene .education-line{border-color:var(--line)}
.resume-scene .education-line>p{color:var(--profile-muted)}
.resume-scene .text-action{border-color:color-mix(in srgb,var(--profile-accent) 48%,transparent)}
.resume-scene .text-action span,.resume-scene .text-action:hover{color:var(--accent)}

/* Carry the selected homepage palette through the complete profile reading flow. */
body[data-page="profile"]{
  --profile-surface:
    linear-gradient(rgba(6,12,14,.24),rgba(6,12,14,.36)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 54% 48% at 83% 4%,color-mix(in srgb,var(--profile-glowA) 24%,transparent),transparent 72%),
    radial-gradient(ellipse 58% 62% at 5% 92%,color-mix(in srgb,var(--profile-glowB) 20%,transparent),transparent 70%),
    linear-gradient(132deg,var(--profile-bgA) 0%,var(--profile-bgB) 48%,var(--profile-bgC) 100%);
  background-color:var(--profile-bgA);
  background-image:var(--profile-surface);
  background-attachment:fixed;
  background-blend-mode:normal,soft-light,normal,normal,normal;
}
body[data-page="profile"] .resume-rest{
  color:var(--profile-text);
  --text:var(--profile-text);
  --muted:var(--profile-muted);
  --line:color-mix(in srgb,var(--profile-muted) 20%,transparent);
  --accent:var(--profile-accent);
}
body[data-page="profile"] .resume-rest .micro,
body[data-page="profile"] .section-title>span,
body[data-page="profile"] .entry-head time,
body[data-page="profile"] .capability-entry>span,
body[data-page="profile"] .award-entry>span{color:var(--profile-kicker)}
body[data-page="profile"] .resume-rest .entry-role{color:var(--profile-accent)}
body[data-page="profile"] .resume-rest .resume-entry>p:last-child,
body[data-page="profile"] .resume-rest .award-entry p,
body[data-page="profile"] .resume-rest .capability-entry p,
body[data-page="profile"] .resume-rest .tool-line p{color:var(--profile-muted)}
body[data-page="profile"] .resume-rest strong,
body[data-page="profile"] .resume-rest h3,
body[data-page="profile"] .resume-rest h4,
body[data-page="profile"] .resume-rest .capability-entry h4,
body[data-page="profile"] .resume-rest .tool-title,
body[data-page="profile"] .resume-rest .tool-line b{color:var(--profile-text)}
body[data-page="profile"] .resume-rest .section-title,
body[data-page="profile"] .resume-rest .resume-entry,
body[data-page="profile"] .resume-rest .capability-entry,
body[data-page="profile"] .resume-rest .tool-line,
body[data-page="profile"] .resume-rest .award-entry{border-color:var(--line)}
body[data-page="profile"] .destination-section,
body[data-page="profile"] .site-footer{background:transparent}
body[data-page="profile"] .destination-section::before{background:none}
body[data-page="profile"] .site-footer{--footer-bg:transparent;--line:color-mix(in srgb,var(--profile-muted) 20%,transparent);--accent:var(--profile-accent)}

/* Fixed neutral reading ink: backgrounds may change, text never borrows their hue. */
body[data-page="profile"] .resume-scene,
body[data-page="profile"] .resume-rest{
  --reading-primary:#F1F0EC;
  --reading-secondary:#D1D2CE;
  --reading-body:#BFC1BD;
  --reading-small:#A7AAA6;
  --reading-line:rgba(205,208,203,.18);
  --reading-link:#D7D9D5;
  color:var(--reading-primary);
  text-shadow:none;
}
body[data-page="profile"] .resume-scene .section-kicker,
body[data-page="profile"] .resume-scene .micro,
body[data-page="profile"] .resume-scene dt,
body[data-page="profile"] .resume-scene .education-line>p,
body[data-page="profile"] .resume-scene .education-detail span,
body[data-page="profile"] .resume-scene .first-highlights span,
body[data-page="profile"] .resume-scene .first-highlights small,
body[data-page="profile"] .resume-rest .micro,
body[data-page="profile"] .resume-rest .section-title>span,
body[data-page="profile"] .resume-rest .entry-head time,
body[data-page="profile"] .resume-rest .capability-entry>span,
body[data-page="profile"] .resume-rest .award-entry>span,
body[data-page="profile"] .resume-rest .tool-line>.tool-index{color:var(--reading-small)}
body[data-page="profile"] .resume-scene .rail-role,
body[data-page="profile"] .resume-scene dd,
body[data-page="profile"] .resume-scene .education-line>div,
body[data-page="profile"] .resume-scene .education-detail p,
body[data-page="profile"] .resume-scene .first-highlights strong,
body[data-page="profile"] .resume-rest .entry-role{color:var(--reading-secondary)}
body[data-page="profile"] .resume-scene .summary,
body[data-page="profile"] .resume-rest .resume-entry>p:last-child,
body[data-page="profile"] .resume-rest .award-entry p,
body[data-page="profile"] .resume-rest .capability-entry p,
body[data-page="profile"] .resume-rest .tool-line p{color:var(--reading-body)}
body[data-page="profile"] .resume-scene h2,
body[data-page="profile"] .resume-scene h3,
body[data-page="profile"] .resume-scene strong,
body[data-page="profile"] .resume-rest h3,
body[data-page="profile"] .resume-rest h4,
body[data-page="profile"] .resume-rest strong,
body[data-page="profile"] .resume-rest .tool-title,
body[data-page="profile"] .resume-rest .tool-line b{color:var(--reading-primary)}
body[data-page="profile"] .resume-scene .text-action,
body[data-page="profile"] .resume-scene .text-action span,
body[data-page="profile"] .resume-rest .text-action,
body[data-page="profile"] .resume-rest .text-action span{color:var(--reading-link)}
body[data-page="profile"] .resume-scene .section-kicker,
body[data-page="profile"] .resume-scene .education-line,
body[data-page="profile"] .resume-scene .education-detail,
body[data-page="profile"] .resume-scene .first-highlights>div,
body[data-page="profile"] .resume-rest .section-title,
body[data-page="profile"] .resume-rest .resume-entry,
body[data-page="profile"] .resume-rest .capability-entry,
body[data-page="profile"] .resume-rest .tool-line,
body[data-page="profile"] .resume-rest .award-entry{border-color:var(--reading-line)}

/* Center each category label against its wrapped list of tools. */
.capability-tools .tool-groups p{align-items:center}
.capability-tools .tool-groups b{line-height:1.6}

/* Keep every highlight title on the same left edge at compact desktop widths. */
@media(min-width:801px) and (max-width:1000px){
  .first-highlights>div:first-child strong{text-align:left;text-align-last:auto}
}
