/* Personal profile additions. Load after portfolio-dark.css.
   The portrait stays in natural colour; all surrounding UI remains black / white. */

/* Replace the old abstract portrait without inheriting its foreground treatment. */
.portfolio-content figure.identity-visual.identity-portrait{position:relative;width:100%;max-width:none;min-width:0;aspect-ratio:1;margin:0;padding:0;border:1px solid rgba(255,255,255,.1);background:#0b0b0c;overflow:hidden;isolation:isolate}
.portfolio-content .identity-visual.identity-portrait::before,.portfolio-content .identity-visual.identity-portrait::after{content:none;display:none}
.portfolio-content .identity-portrait>img{position:static;inset:auto;display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;object-position:center;filter:none;opacity:1;mix-blend-mode:normal;transform:none}
.portfolio-content .identity-portrait>figcaption{position:absolute;inset:auto 0 0;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:9px;max-width:100%;padding:66px 27px 27px;margin:0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.18) 29%,rgba(0,0,0,.68) 100%);color:#f5f5f3;pointer-events:none}
.portfolio-content .identity-portrait>figcaption>.mono{font-size:8px;font-weight:400;line-height:1.8;letter-spacing:.08em;color:rgba(255,255,255,.72);overflow-wrap:anywhere}
.portfolio-content .identity-portrait>figcaption>span:last-child{font-size:14px;font-weight:400;line-height:1.6;letter-spacing:.015em;color:#f5f5f3;text-shadow:0 1px 9px rgba(0,0,0,.15);overflow-wrap:anywhere}

/* Each About action and its real contact value stays on the same readable row. */
.portfolio-content .profile-contact{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;width:100%;min-width:0;max-width:100%;margin-top:24px}
.portfolio-content .profile-contact>div{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:18px;min-width:0;max-width:100%;min-height:53px;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.13)}
.portfolio-content .profile-contact>div>button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:44px;margin:0;padding:9px 0;border:0;border-radius:0;background:none;color:#e9e9ed;font:inherit;font-size:12px;font-weight:400;line-height:1.8;text-align:left;white-space:normal;cursor:pointer;transition:color .2s}
.portfolio-content .profile-contact>div>button:hover{color:#fff}
.portfolio-content .profile-contact>div>span{display:block;min-width:0;max-width:100%;font-size:12px;font-weight:300;line-height:1.85;letter-spacing:0;color:#9797a0;white-space:normal;overflow-wrap:anywhere;word-break:normal}

/* Footer contact actions show a channel label and a complete second-line value. */
.portfolio-content .contact-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) auto;align-items:start;gap:24px 36px;min-width:0}
.portfolio-content .contact-bottom>p{min-width:0;max-width:100%;overflow-wrap:anywhere}
.portfolio-content .contact-bottom>.contact-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px;min-width:0;max-width:100%;margin:0}
.portfolio-content .contact-bottom>.contact-channels>.contact-link{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;width:100%;min-width:0;max-width:100%;min-height:66px;margin:0;padding:4px 0 15px;border:0;border-bottom:1px solid rgba(255,255,255,.15);border-radius:0;background:none;color:#e2e2e7;font:inherit;text-align:left;white-space:normal;cursor:pointer;transition:border-color .2s}
.portfolio-content .contact-bottom>.contact-channels>.contact-link:hover{border-color:rgba(255,255,255,.48)}
.portfolio-content .contact-bottom>.contact-channels>.contact-link>.contact-channel-name{display:block;min-width:0;max-width:100%;font-size:12px;font-weight:400;line-height:1.8;letter-spacing:0;color:#e7e7eb;white-space:normal;overflow-wrap:anywhere}
.portfolio-content .contact-bottom>.contact-channels>.contact-link>.contact-channel-value{display:block;min-width:0;max-width:100%;font-size:12px;font-weight:300;line-height:1.85;letter-spacing:0;color:#9999a3;white-space:normal;overflow-wrap:anywhere;word-break:normal;transition:color .2s}
.portfolio-content .contact-bottom>.contact-channels>.contact-link:hover>.contact-channel-value{color:#ceced5}
.portfolio-content .contact-bottom>.back-top{width:auto;min-width:0;min-height:44px;justify-self:end;align-self:start;justify-content:flex-end;margin:0;gap:16px}

/* Education and professional history share one restrained editorial structure. */
:is(.portfolio-content,.profile-cv-dialog) .profile-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(32px,4.8vw,68px);min-width:0;max-width:100%;margin-top:38px}
:is(.portfolio-content,.profile-cv-dialog) .profile-history-section{min-width:0;max-width:100%}
:is(.portfolio-content,.profile-cv-dialog) .profile-history-section h4{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;min-width:0;margin:0;padding:0 0 21px;border-bottom:1px solid rgba(255,255,255,.15);color:#e7e7eb;font-family:inherit;font-size:21px;font-weight:400;line-height:1.5;letter-spacing:-.02em}
:is(.portfolio-content,.profile-cv-dialog) .profile-history-section h4 .mono{font-size:8px;line-height:1.8;letter-spacing:.075em;font-weight:400;color:#73737f}
:is(.portfolio-content,.profile-cv-dialog) .history-list{display:flex;flex-direction:column;min-width:0;max-width:100%;margin:0;padding:0}
:is(.portfolio-content,.profile-cv-dialog) .history-item{min-width:0;max-width:100%;padding:25px 0 27px;margin:0;border-bottom:1px solid rgba(255,255,255,.1)}
:is(.portfolio-content,.profile-cv-dialog) .history-topline{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;min-width:0;max-width:100%;margin:0 0 11px}
:is(.portfolio-content,.profile-cv-dialog) .history-topline>.mono{flex:none;max-width:100%;font-size:9px;font-weight:400;line-height:1.8;letter-spacing:.035em;color:#777783;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
:is(.portfolio-content,.profile-cv-dialog) .history-topline>span:not(.mono){flex:1 1 130px;min-width:0;max-width:100%;font-size:11px;font-weight:300;line-height:1.8;letter-spacing:0;color:#a5a5af;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .history-item h5{min-width:0;max-width:100%;font-size:17px;font-weight:400;line-height:1.7;letter-spacing:-.01em;color:#e2e2e7;margin:0 0 11px;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .history-item p{min-width:0;max-width:100%;font-size:13px;font-weight:300;line-height:1.95;letter-spacing:0;color:#94949f;margin:0;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .history-item p+p{margin-top:10px}
:is(.portfolio-content,.profile-cv-dialog) a.showcase-row{display:grid;grid-template-columns:auto minmax(0,1fr) 18px;align-items:center;gap:17px;min-width:0;max-width:100%;min-height:64px;margin:0;padding:19px 0 20px;border-bottom:1px solid rgba(255,255,255,.14);background:transparent;color:#d6d6df;text-decoration:none;touch-action:manipulation;transition:border-color .2s,color .2s}
:is(.portfolio-content,.profile-cv-dialog) a.showcase-row:hover{color:#fff;border-color:rgba(255,255,255,.46)}
:is(.portfolio-content,.profile-cv-dialog) .showcase-row>.mono{font-size:8px;line-height:1.8;letter-spacing:.065em;font-weight:400;color:#71717e}
:is(.portfolio-content,.profile-cv-dialog) .showcase-row>div{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%}
:is(.portfolio-content,.profile-cv-dialog) .showcase-row>div>span{display:block;min-width:0;max-width:100%;font-size:12px;font-weight:400;line-height:1.8;letter-spacing:0;color:inherit;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .showcase-row>div>small{display:block;min-width:0;max-width:100%;font-size:10px;font-weight:300;line-height:1.9;letter-spacing:0;color:#83838f;white-space:normal;overflow-wrap:anywhere;word-break:normal}
:is(.portfolio-content,.profile-cv-dialog) .showcase-row>span:last-child:not(.mono){font-size:19px;font-weight:300;line-height:1;justify-self:end;color:#b1b1be}

/* Expanded CV: actual documents first, then focus and the same factual history. */
dialog.info-dialog.profile-cv-dialog{width:min(900px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:90svh;padding:60px;border:1px solid rgba(255,255,255,.14);background:#101012;color:#efeff2;overflow:auto;overscroll-behavior:contain}
dialog.profile-cv-dialog #info-dialog-content{min-width:0;max-width:100%}
dialog.profile-cv-dialog .cv-header{min-width:0;max-width:100%;padding-right:30px;margin:0 0 30px}
dialog.profile-cv-dialog .cv-header>.eyebrow{font-size:9px;line-height:1.8;letter-spacing:.075em;color:#80808d;margin:0;padding:0;max-width:100%;overflow-wrap:anywhere}
dialog.profile-cv-dialog .cv-header h2{font-size:42px;font-weight:400;line-height:1.25;letter-spacing:-.055em;color:#f1f1f2;margin:18px 0 15px;max-width:100%;overflow-wrap:anywhere}
dialog.profile-cv-dialog .cv-header h2>span{display:inline-block;font-size:20px;font-weight:300;line-height:1.6;letter-spacing:-.01em;margin-left:12px;color:#c7c7cf;vertical-align:baseline}
dialog.profile-cv-dialog .cv-header>p:not(.eyebrow){min-width:0;max-width:100%;font-size:14px;font-weight:300;line-height:1.95;letter-spacing:0;margin:0;color:#9c9ca7;overflow-wrap:anywhere}
dialog.profile-cv-dialog .cv-versions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;min-width:0;max-width:100%;margin:0}
dialog.profile-cv-dialog .cv-version{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%;margin:0;padding:24px 23px;border:1px solid rgba(255,255,255,.14);background:#131315}
dialog.profile-cv-dialog .cv-version>.mono{font-size:9px;line-height:1.8;letter-spacing:.075em;color:#81818d;margin:0 0 18px;overflow-wrap:anywhere}
dialog.profile-cv-dialog .cv-version h3{font-size:19px;font-weight:400;line-height:1.6;letter-spacing:-.02em;color:#e7e7ed;min-width:0;max-width:100%;margin:0 0 12px;overflow-wrap:anywhere}
dialog.profile-cv-dialog .cv-version>p:not(.mono){min-width:0;max-width:100%;font-size:12px;font-weight:300;line-height:1.9;letter-spacing:0;color:#8f8f9d;margin:0 0 18px;overflow-wrap:anywhere}
dialog.profile-cv-dialog .cv-file-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;min-width:0;max-width:100%;margin-top:auto;padding-top:7px}
dialog.profile-cv-dialog .cv-file-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:66px;min-height:44px;max-width:100%;padding:11px 14px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#dedee6;font-family:inherit;font-size:11px;font-weight:400;line-height:1.8;text-decoration:none;touch-action:manipulation;overflow-wrap:anywhere;transition:color .2s,background .2s,border-color .2s}
dialog.profile-cv-dialog .cv-file-actions>a:first-child{border-color:#e9e9eb;background:#e9e9eb;color:#121214}
dialog.profile-cv-dialog .cv-file-actions>a:hover{border-color:#fff;color:#fff}
dialog.profile-cv-dialog .cv-file-actions>a:first-child:hover{border-color:#c8c8cd;background:#c8c8cd;color:#121214}
dialog.profile-cv-dialog .cv-focus{min-width:0;max-width:100%;margin-top:31px;padding:26px 0 27px;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}
dialog.profile-cv-dialog .cv-focus h3{font-size:17px;font-weight:400;line-height:1.65;letter-spacing:-.015em;color:#dedee6;margin:0 0 12px}
dialog.profile-cv-dialog .cv-focus p{font-size:14px;font-weight:300;line-height:1.95;letter-spacing:0;color:#9898a5;margin:0;overflow-wrap:anywhere}
dialog.profile-cv-dialog .profile-history-grid{gap:34px;margin-top:35px}
dialog.profile-cv-dialog .profile-history-section h4{font-size:19px;gap:8px 12px;padding-bottom:19px}
dialog.profile-cv-dialog .profile-history-section h4 .mono{font-size:7px}
dialog.profile-cv-dialog .history-item{padding-top:23px;padding-bottom:24px}
dialog.profile-cv-dialog .history-topline{gap:6px 12px}
dialog.profile-cv-dialog .history-topline>.mono{font-size:8px}
dialog.profile-cv-dialog .history-topline>span:not(.mono){flex-basis:100px;font-size:10px}
dialog.profile-cv-dialog .history-item h5{font-size:15px;line-height:1.75}
dialog.profile-cv-dialog .history-item p{font-size:12px;line-height:1.95}
dialog.profile-cv-dialog .showcase-row{grid-template-columns:minmax(0,1fr) 18px;gap:7px 15px}
dialog.profile-cv-dialog .showcase-row>.mono{grid-column:1/-1}
dialog.profile-cv-dialog .showcase-row>div{grid-column:1;min-width:0}
dialog.profile-cv-dialog .showcase-row>span:last-child:not(.mono){grid-column:2;grid-row:2}

/* Awards and skills use the same shared content on the page and in the CV panel. */
:is(.portfolio-content,.profile-cv-dialog) .profile-awards-list{list-style:none;min-width:0;max-width:100%;padding:0;margin:0}
:is(.portfolio-content,.profile-cv-dialog) .profile-award-item{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:start;gap:18px;min-width:0;max-width:100%;padding:20px 0 22px;border-bottom:1px solid rgba(255,255,255,.1)}
:is(.portfolio-content,.profile-cv-dialog) .profile-award-item>.mono{font-size:9px;line-height:1.9;letter-spacing:.035em;color:#777783;font-variant-numeric:tabular-nums;padding-top:2px;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .profile-award-item>div{min-width:0;max-width:100%}
:is(.portfolio-content,.profile-cv-dialog) .profile-award-level{font-size:11px;font-weight:300;line-height:1.85;color:#a5a5af;margin:0 0 6px}
:is(.portfolio-content,.profile-cv-dialog) .profile-award-item h5{font-size:15px;font-weight:400;line-height:1.8;letter-spacing:-.01em;color:#e2e2e7;margin:0;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .profile-skills-description{font-size:13px;font-weight:300;line-height:1.95;letter-spacing:0;color:#94949f;min-width:0;max-width:100%;margin:0;padding:22px 0 25px;border-bottom:1px solid rgba(255,255,255,.1);overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .profile-skill-group{min-width:0;max-width:100%;padding:23px 0 24px;border-bottom:1px solid rgba(255,255,255,.1)}
:is(.portfolio-content,.profile-cv-dialog) .profile-skill-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:7px 15px;min-width:0;margin:0 0 15px}
:is(.portfolio-content,.profile-cv-dialog) .profile-skill-heading h5{font-size:16px;font-weight:400;line-height:1.7;letter-spacing:-.01em;color:#dedee6;margin:0;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .profile-skill-heading>.mono{font-size:7px;line-height:1.8;letter-spacing:.055em;color:#73737f;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .profile-skills-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 20px;list-style:none;min-width:0;max-width:100%;padding:0;margin:0}
:is(.portfolio-content,.profile-cv-dialog) .profile-skills-list>li{display:flex;align-items:baseline;gap:9px;min-width:0;max-width:100%;padding:5px 0;font-size:12px;font-weight:300;line-height:1.9;color:#b2b2bd;overflow-wrap:anywhere}
:is(.portfolio-content,.profile-cv-dialog) .profile-skills-list>li::before{content:'·';color:#666672;flex:none}
.profile-cv-dialog .profile-award-item{grid-template-columns:61px minmax(0,1fr);gap:13px;padding:19px 0 21px}
.profile-cv-dialog .profile-award-item>.mono{font-size:8px}
.profile-cv-dialog .profile-award-item h5{font-size:14px}
.profile-cv-dialog .profile-skills-description{font-size:12px;line-height:1.95}
.profile-cv-dialog .profile-skill-heading h5{font-size:15px}
.profile-cv-dialog .profile-skills-list{gap:3px 14px}
.profile-cv-dialog .profile-skills-list>li{font-size:11px}

/* Keyboard affordances remain visible on photos' surrounding dark canvas. */
.portfolio-content .profile-contact>div>button:focus-visible,.portfolio-content .contact-channels>.contact-link:focus-visible,:is(.portfolio-content,.profile-cv-dialog) .showcase-row:focus-visible,dialog.profile-cv-dialog .cv-file-actions>a:focus-visible{outline:2px solid #f0f0f2;outline-offset:5px}

@media(max-width:1100px){
  .portfolio-content .contact-bottom{gap:24px 27px;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) auto}
  .portfolio-content .contact-bottom>.contact-channels{gap:20px}
}
@media(max-width:900px){
  .portfolio-content .contact-bottom{grid-template-columns:minmax(0,1fr) auto;gap:20px 28px}
  .portfolio-content .contact-bottom>p{grid-column:1;grid-row:1}
  .portfolio-content .contact-bottom>.contact-channels{grid-column:1/-1;grid-row:2;gap:28px;max-width:none}
  .portfolio-content .contact-bottom>.back-top{grid-column:2;grid-row:1;width:auto;justify-self:end}
  dialog.info-dialog.profile-cv-dialog{width:calc(100vw - 40px);max-width:calc(100vw - 40px);padding:52px 40px 40px}
}
@media(max-width:768px){
  .portfolio-content .identity-portrait>figcaption{gap:7px;padding:52px 22px 22px}
  .portfolio-content .identity-portrait>figcaption>.mono{font-size:8px;letter-spacing:.06em}
  .portfolio-content .identity-portrait>figcaption>span:last-child{font-size:13px}
  .portfolio-content .profile-contact{margin-top:23px}
  .portfolio-content .profile-contact>div{grid-template-columns:72px minmax(0,1fr);gap:16px;min-height:54px}
  .portfolio-content .profile-contact>div>button{font-size:12px;min-height:44px}
  .portfolio-content .profile-contact>div>span{font-size:12px;line-height:1.9}
  :is(.portfolio-content,.profile-cv-dialog) .profile-history-grid{grid-template-columns:minmax(0,1fr);gap:37px;margin-top:32px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-history-section h4{font-size:20px;padding-bottom:18px;gap:8px 17px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-history-section h4 .mono{font-size:8px}
  :is(.portfolio-content,.profile-cv-dialog) .history-item{padding-top:23px;padding-bottom:25px}
  :is(.portfolio-content,.profile-cv-dialog) .history-topline{gap:7px 15px;margin-bottom:11px}
  :is(.portfolio-content,.profile-cv-dialog) .history-topline>.mono{font-size:9px;line-height:1.85}
  :is(.portfolio-content,.profile-cv-dialog) .history-topline>span:not(.mono){font-size:11px;line-height:1.85;flex-basis:130px}
  :is(.portfolio-content,.profile-cv-dialog) .history-item h5{font-size:17px;line-height:1.75;margin-bottom:11px}
  :is(.portfolio-content,.profile-cv-dialog) .history-item p{font-size:14px;line-height:1.95}
  :is(.portfolio-content,.profile-cv-dialog) a.showcase-row{min-height:68px;grid-template-columns:minmax(0,1fr) 18px;gap:7px 17px;padding:18px 0 20px}
  :is(.portfolio-content,.profile-cv-dialog) .showcase-row>.mono{grid-column:1/-1;font-size:8px}
  :is(.portfolio-content,.profile-cv-dialog) .showcase-row>div{grid-column:1;min-width:0}
  :is(.portfolio-content,.profile-cv-dialog) .showcase-row>div>span{font-size:12px;line-height:1.8}
  :is(.portfolio-content,.profile-cv-dialog) .showcase-row>div>small{font-size:11px;line-height:1.9}
  :is(.portfolio-content,.profile-cv-dialog) .showcase-row>span:last-child:not(.mono){grid-column:2;grid-row:2}
  dialog.info-dialog.profile-cv-dialog{width:calc(100vw - 28px);max-width:calc(100vw - 28px);max-height:92svh;padding:68px 20px 27px}
  dialog.profile-cv-dialog .cv-header{padding-right:0;margin-bottom:27px}
  dialog.profile-cv-dialog .cv-header>.eyebrow{font-size:8px;line-height:1.85;max-width:100%;letter-spacing:.065em}
  dialog.profile-cv-dialog .cv-header h2{font-size:35px;line-height:1.3;letter-spacing:-.05em;margin:17px 0 15px}
  dialog.profile-cv-dialog .cv-header h2>span{font-size:19px;line-height:1.65;margin-left:9px}
  dialog.profile-cv-dialog .cv-header>p:not(.eyebrow){font-size:14px;line-height:1.95}
  dialog.profile-cv-dialog .cv-versions{grid-template-columns:minmax(0,1fr);gap:15px}
  dialog.profile-cv-dialog .cv-version{padding:22px 20px}
  dialog.profile-cv-dialog .cv-version>.mono{font-size:9px;margin-bottom:15px}
  dialog.profile-cv-dialog .cv-version h3{font-size:18px;line-height:1.65;margin-bottom:12px}
  dialog.profile-cv-dialog .cv-version>p:not(.mono){font-size:13px;line-height:1.95;margin-bottom:18px}
  dialog.profile-cv-dialog .cv-file-actions{gap:10px 13px;padding-top:4px}
  dialog.profile-cv-dialog .cv-file-actions>a{min-height:44px;min-width:69px;font-size:12px;padding:11px 15px}
  dialog.profile-cv-dialog .cv-focus{margin-top:27px;padding:23px 0 24px}
  dialog.profile-cv-dialog .cv-focus h3{font-size:17px;line-height:1.7}
  dialog.profile-cv-dialog .cv-focus p{font-size:14px;line-height:1.95}
  dialog.profile-cv-dialog .profile-history-grid{gap:32px;margin-top:30px}
  dialog.profile-cv-dialog .profile-history-section h4{font-size:19px}
  dialog.profile-cv-dialog .history-item h5{font-size:16px}
  dialog.profile-cv-dialog .history-item p{font-size:14px;line-height:1.95}
  :is(.portfolio-content,.profile-cv-dialog) .profile-award-item{grid-template-columns:65px minmax(0,1fr);gap:16px;padding:21px 0 23px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-award-item>.mono{font-size:9px;line-height:1.9}
  :is(.portfolio-content,.profile-cv-dialog) .profile-award-level{font-size:12px;margin-bottom:7px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-award-item h5{font-size:15px;line-height:1.85}
  :is(.portfolio-content,.profile-cv-dialog) .profile-skills-description{font-size:14px;line-height:1.95;padding:22px 0 24px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-skill-group{padding:23px 0 24px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-skill-heading h5{font-size:16px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-skill-heading>.mono{font-size:8px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-skills-list{grid-template-columns:minmax(0,1fr);gap:2px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-skills-list>li{font-size:14px;line-height:1.9;padding:5px 0}
}
@media(max-width:420px){
  .portfolio-content .identity-portrait>figcaption{padding:48px 19px 19px}
  .portfolio-content .identity-portrait>figcaption>.mono{font-size:7px}
  .portfolio-content .identity-portrait>figcaption>span:last-child{font-size:12px}
  .portfolio-content .profile-contact>div{grid-template-columns:68px minmax(0,1fr);gap:12px}
  .portfolio-content .profile-contact>div>button,.portfolio-content .profile-contact>div>span{font-size:11px}
  .portfolio-content .contact-bottom{grid-template-columns:minmax(0,1fr);gap:20px}
  .portfolio-content .contact-bottom>p{grid-column:1;grid-row:1}
  .portfolio-content .contact-bottom>.contact-channels{grid-template-columns:minmax(0,1fr);grid-column:1;grid-row:2;gap:17px;width:100%;margin:0}
  .portfolio-content .contact-bottom>.contact-channels>.contact-link{gap:6px;min-height:66px;padding:2px 0 15px}
  .portfolio-content .contact-bottom>.contact-channels>.contact-link>.contact-channel-name{font-size:12px}
  .portfolio-content .contact-bottom>.contact-channels>.contact-link>.contact-channel-value{font-size:13px}
  .portfolio-content .contact-bottom>.back-top{grid-column:1;grid-row:3;justify-self:end;width:auto}
  :is(.portfolio-content,.profile-cv-dialog) .profile-history-section h4{font-size:19px;gap:8px 14px}
  :is(.portfolio-content,.profile-cv-dialog) .profile-history-section h4 .mono{font-size:7px}
  :is(.portfolio-content,.profile-cv-dialog) .history-topline{gap:6px 13px}
  :is(.portfolio-content,.profile-cv-dialog) .history-item h5{font-size:16px}
  dialog.profile-cv-dialog .cv-header h2{font-size:31px}
  dialog.profile-cv-dialog .cv-header h2>span{display:block;font-size:18px;margin:7px 0 0}
  dialog.profile-cv-dialog .cv-version{padding:21px 17px}
}
@media(prefers-reduced-motion:reduce){
  .portfolio-content .profile-contact>div>button,.portfolio-content .contact-channels>.contact-link,.portfolio-content .contact-channels>.contact-link>.contact-channel-value,:is(.portfolio-content,.profile-cv-dialog) .showcase-row,dialog.profile-cv-dialog .cv-file-actions>a{transition:none}
}
